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

Sync only once a week #3494

Merged
merged 3 commits into from
Jan 31, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
- reopened
- synchronize
schedule:
- cron: '0 4 * * *'
- cron: '0 4 * * *' # run every day at 04:00 UTC

defaults:
run:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
# The branches below must be a subset of the branches above
branches: [ main ]
schedule:
- cron: '36 6 * * 4'
- cron: '36 6 * * 4' # run every Thursday at 06:36 UTC

concurrency:
group: ${{ github.ref_name }}-codeql
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scorecards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
# Only the default branch is supported.
branch_protection_rule:
schedule:
- cron: '43 20 * * 0'
- cron: '43 20 * * 0' # run every Sunday at 20:43 UTC
push:
branches: [ "main" ]

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: 'Close stale issues and PRs'
on:
schedule:
- cron: '30 1 * * *'
- cron: '30 1 * * *' # run every day at 01:30 UTC

permissions: # added using https://github.com/step-security/secure-workflows
contents: read
Expand Down
11 changes: 4 additions & 7 deletions .github/workflows/sync.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
name: Sync
name: Sync labels

on:
workflow_run:
branches: main
workflows:
- "CI"
types:
- completed
schedule:
- cron: '8 0 * * 1' # run every Monday at 00:08 UTC
workflow_dispatch:

concurrency:
group: ${{ github.ref_name }}-sync
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-docker-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Update Docker Images

on:
schedule:
- cron: '0 1 * * *'
- cron: '0 1 * * *' # run every day at 01:00 UTC
workflow_dispatch:

defaults:
Expand Down