Schedule - Sync labels #20967
This file contains 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
--- | |
name: Schedule - Sync labels | |
on: # yamllint disable-line rule:truthy | |
workflow_dispatch: | |
schedule: | |
- cron: "0 * * * *" | |
jobs: | |
labels: | |
name: Sync Labels | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- name: Generate Token | |
uses: tibdex/github-app-token@v2 | |
id: generate-token | |
with: | |
app_id: ${{ secrets.TVORIES_APP_ID }} | |
private_key: ${{ secrets.TVORIES_APP_PRIVATE_KEY }} | |
- name: Sync Labels | |
uses: EndBug/label-sync@v2 | |
with: | |
config-file: .github/labels.yaml | |
token: "${{ steps.generate-token.outputs.token }}" |