Sync labels #1150
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: Sync labels | |
# yamllint disable-line rule:truthy | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- .github/labels.yml | |
schedule: | |
- cron: "34 5 * * *" | |
workflow_call: | |
workflow_dispatch: | |
jobs: | |
labels: | |
name: ♻️ Sync labels | |
runs-on: ubuntu-latest | |
steps: | |
- name: ⤵️ Download latest labels definitions | |
run: | | |
curl -s --retry 5 \ | |
"https://raw.githubusercontent.com/hassio-addons/workflows/main/.github/labels.yml" \ | |
> labels.yml | |
- name: 🚀 Run Label Syncer | |
uses: micnncim/[email protected] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
manifest: labels.yml |