Skip to content

Schedule - Sync labels #20956

Schedule - Sync labels

Schedule - Sync labels #20956

---
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 }}"