26 lines
687 B
YAML
26 lines
687 B
YAML
---
|
|
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@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3
|
|
with:
|
|
token: ${{ secrets.BOT_TOKEN }}
|
|
|
|
- name: Sync Labels
|
|
uses: EndBug/label-sync@2155ba23e047b09a88c8a2f577fa370307d171f4 # tag=v2
|
|
with:
|
|
config-file: |
|
|
https://raw.githubusercontent.com/truecharts/.github/main/.github/labels.yaml
|
|
token: "${{ secrets.BOT_TOKEN }}"
|
|
delete-other-labels: true
|