We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 38c0f4f + 25ee4ed commit 8e5b4a0Copy full SHA for 8e5b4a0
1 file changed
.github/workflows/cron-update-labels.yml
@@ -0,0 +1,26 @@
1
+# Utility that updates labels based on keystone reusable workflow repository
2
+name: "Monthly Label Timer"
3
+on:
4
+ # Manually run the job
5
+ workflow_dispatch:
6
+ # Periodically run the job
7
+ # Every first day of the month at 1:28 UTC
8
+ schedule:
9
+ - cron: "28 1 1 * *"
10
+
11
+# Grant only what’s needed; label management requires issues: write
12
+permissions:
13
+ contents: read
14
+ issues: write
15
16
+# Prevent Concurrent Jobs
17
+concurrency:
18
+ group: labels-monthly-${{ github.ref }}
19
+ cancel-in-progress: true
20
21
+jobs:
22
+ # Runs reusable workflow (utility-update-labels.yml on the main branch) from keystone repository
23
+ create-labels:
24
+ name: "Update Labels"
25
+ uses: escendit/keystone/.github/workflows/utility-update-labels.yml@main
26
+ secrets: inherit
0 commit comments