Skip to content

Commit

Permalink
Separate cron schedules for recurring workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
robdimsdale committed Oct 5, 2023
1 parent 8d36387 commit fc6e992
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/update-tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Update Tools

on:
schedule:
- cron: '0 0 * * *'
- cron: '42 19 * * *' # daily at 19:42 UTC

Check warning on line 6 in .github/workflows/update-tools.yml

View workflow job for this annotation

GitHub Actions / lintYaml

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

concurrency: tools_update
Expand Down
2 changes: 1 addition & 1 deletion builder/.github/workflows/update-builder-toml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Update builder.toml and Send Pull Request

on:
schedule:
- cron: '10 */1 * * *'
- cron: '36 0,12 * * *' # daily at 00:36 and 12:36 UTC

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

View workflow job for this annotation

GitHub Actions / lintYaml

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

concurrency: builder_update
Expand Down
2 changes: 1 addition & 1 deletion builder/.github/workflows/update-github-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Update shared github-config

on:
schedule:
- cron: '30 0 * * *'
- cron: '47 8 * * *' # daily at 08:46 UTC

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

View workflow job for this annotation

GitHub Actions / lintYaml

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

concurrency: github_config_update
Expand Down
2 changes: 1 addition & 1 deletion implementation/.github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion implementation/.github/workflows/update-github-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion language-family/.github/workflows/create-release-issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Create reminder issue for buildpack releases

on:
schedule:
- cron: '0 3 * * MON '
- cron: '54 3 * * MON' # every Monday at 3:54am UTC
workflow_dispatch: {}

jobs:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Update buildpack.toml

on:
schedule:
- cron: '30 */6 * * *'
- cron: '1 6 * * *' # daily at 06:01 UTC
workflow_dispatch: {}

concurrency: buildpack_update
Expand Down
2 changes: 1 addition & 1 deletion language-family/.github/workflows/update-github-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Update shared github-config

on:
schedule:
- cron: '30 2 * * *'
- cron: '20 17 * * *' # daily at 17:20 UTC
workflow_dispatch: {}

concurrency: github_config_update
Expand Down
2 changes: 1 addition & 1 deletion library/.github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
- main
- v*
schedule:
- cron: '0 0 * * *' # Once a day at midnight
- cron: '24 18 * * *' # daily at 18:24 UTC

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

on:
schedule:
- cron: '30 1 * * *'
- cron: '16 19 * * *' # daily at 19:16 UTC

Check warning on line 5 in library/.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
2 changes: 1 addition & 1 deletion stack/.github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Create Release

on:
schedule:
- cron: '*/30 * * * *' # every 30 minutes
- cron: '27 2,14 * * *' # daily at 02:27 and 14:27 UTC

Check warning on line 5 in stack/.github/workflows/create-release.yml

View workflow job for this annotation

GitHub Actions / lintYaml

5:27 [comments] too few spaces before comment
push:
branches:
- main
Expand Down
2 changes: 1 addition & 1 deletion stack/.github/workflows/update-github-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Update shared github-config

on:
schedule:
- cron: '30 3 * * *'
- cron: '44 3 * * *' # daily at 3:44 AM UTC

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

View workflow job for this annotation

GitHub Actions / lintYaml

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

concurrency: github_config_update
Expand Down

0 comments on commit fc6e992

Please sign in to comment.