Monthly Label Timer #6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Utility that updates labels based on keystone reusable workflow repository | |
| name: "Monthly Label Timer" | |
| on: | |
| # Manually run the job | |
| workflow_dispatch: | |
| # Periodically run the job | |
| # Every first day of the month at 1:29 UTC | |
| schedule: | |
| - cron: "29 1 1 * *" | |
| # Prevent Concurrent Jobs | |
| concurrency: | |
| group: labels-monthly-${{ github.ref }} | |
| cancel-in-progress: true | |
| # Grant only what’s needed; label management requires issues: write | |
| permissions: | |
| contents: read | |
| issues: write | |
| jobs: | |
| # Runs reusable workflow (utility-update-labels.yml on the main branch) from keystone repository | |
| create-labels: | |
| name: "Update Labels" | |
| uses: escendit/keystone/.github/workflows/utility-update-labels.yml@main | |
| secrets: inherit |