Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates github-config #625

Merged
merged 5 commits into from
Oct 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 0 additions & 19 deletions .github/workflows/approve-bot-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
pull_request:
branches: [ main ]
schedule:
- cron: '0 0 * * *' # Once a day at midnight
- cron: '34 5 * * *' # daily at 5:34am UTC

Check warning on line 9 in .github/workflows/codeql-analysis.yml

View workflow job for this annotation

GitHub Actions / lintYaml

9:24 [comments] too few spaces before comment

jobs:
analyze:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/update-dependencies-from-metadata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@

on:
workflow_dispatch:
# https://crontab.guru/every-12-hours
schedule:
- cron: '0 */12 * * *'
- cron: '57 13 * * *' # daily at 13:57 UTC

Check warning on line 6 in .github/workflows/update-dependencies-from-metadata.yml

View workflow job for this annotation

GitHub Actions / lintYaml

6:27 [comments] too few spaces before comment

jobs:
retrieve:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-github-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

on:
schedule:
- cron: '30 1 * * *'
- cron: '27 13 * * *' # daily at 13:27 UTC

Check warning on line 5 in .github/workflows/update-github-config.yml

View workflow job for this annotation

GitHub Actions / lintYaml

5:25 [comments] too few spaces before comment
workflow_dispatch: {}

concurrency: github_config_update
Expand Down