Skip to content

Commit 25ee4ed

Browse files
committed
chore: Update cron timing and add concurrency control to label update workflow
1 parent 70d345f commit 25ee4ed

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/cron-update-labels.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
# Manually run the job
55
workflow_dispatch:
66
# Periodically run the job
7-
# Every first day of the month at 1:27 UTC
7+
# Every first day of the month at 1:28 UTC
88
schedule:
99
- cron: "28 1 1 * *"
1010

@@ -13,6 +13,11 @@ permissions:
1313
contents: read
1414
issues: write
1515

16+
# Prevent Concurrent Jobs
17+
concurrency:
18+
group: labels-monthly-${{ github.ref }}
19+
cancel-in-progress: true
20+
1621
jobs:
1722
# Runs reusable workflow (utility-update-labels.yml on the main branch) from keystone repository
1823
create-labels:

0 commit comments

Comments
 (0)