From 91bd3ee3796144d1a986005610b5aa1a42ec1612 Mon Sep 17 00:00:00 2001 From: paketo-bot Date: Wed, 4 Oct 2023 02:08:40 +0000 Subject: [PATCH 1/2] Updating github-config --- .github/workflows/approve-bot-pr.yml | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/.github/workflows/approve-bot-pr.yml b/.github/workflows/approve-bot-pr.yml index 3f45a3d7..c798e647 100644 --- a/.github/workflows/approve-bot-pr.yml +++ b/.github/workflows/approve-bot-pr.yml @@ -67,22 +67,3 @@ jobs: gh pr merge ${{ needs.download.outputs.pr-number }} --auto --rebase env: GITHUB_TOKEN: ${{ secrets.PAKETO_BOT_GITHUB_TOKEN }} - - failure: - name: Alert on Failure - runs-on: ubuntu-22.04 - needs: [download, approve] - if: ${{ always() && needs.download.result == 'failure' || needs.approve.result == 'failure' }} - steps: - - name: File Failure Alert Issue - uses: paketo-buildpacks/github-config/actions/issue/file@main - with: - token: ${{ secrets.GITHUB_TOKEN }} - repo: ${{ github.repository }} - label: "failure:approve-bot-pr" - comment_if_exists: true - issue_title: "Failure: Approve bot PR workflow" - issue_body: | - Approve bot PR workflow [failed](https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}). - comment_body: | - Another failure occurred: https://github.com/${{github.repository}}/actions/runs/${{github.run_id}} From 0c6b02cf8f269a8dd9cab6648311fbbc8c07e2ce Mon Sep 17 00:00:00 2001 From: paketo-bot Date: Tue, 10 Oct 2023 02:07:21 +0000 Subject: [PATCH 2/2] Updating github-config --- .github/workflows/codeql-analysis.yml | 2 +- .github/workflows/update-dependencies-from-metadata.yml | 3 +-- .github/workflows/update-github-config.yml | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 3d8768bf..09253a6d 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -6,7 +6,7 @@ on: pull_request: branches: [ main ] schedule: - - cron: '0 0 * * *' # Once a day at midnight + - cron: '34 5 * * *' # daily at 5:34am UTC jobs: analyze: diff --git a/.github/workflows/update-dependencies-from-metadata.yml b/.github/workflows/update-dependencies-from-metadata.yml index f352bec5..905fe50a 100644 --- a/.github/workflows/update-dependencies-from-metadata.yml +++ b/.github/workflows/update-dependencies-from-metadata.yml @@ -2,9 +2,8 @@ name: Update Dependencies From Metadata (Retrieve, Metadata, Compile, Test, Crea on: workflow_dispatch: - # https://crontab.guru/every-12-hours schedule: - - cron: '0 */12 * * *' + - cron: '57 13 * * *' # daily at 13:57 UTC jobs: retrieve: diff --git a/.github/workflows/update-github-config.yml b/.github/workflows/update-github-config.yml index 74996635..79164ac6 100644 --- a/.github/workflows/update-github-config.yml +++ b/.github/workflows/update-github-config.yml @@ -2,7 +2,7 @@ name: Update shared github-config on: schedule: - - cron: '30 1 * * *' + - cron: '27 13 * * *' # daily at 13:27 UTC workflow_dispatch: {} concurrency: github_config_update