TrueChartsClone/.github/workflows/schedule-sync-labels.yaml

26 lines
689 B
YAML
Raw Normal View History

2022-03-31 18:22:03 +00:00
---
name: "Schedule: Sync labels"
on: # yamllint disable-line rule:truthy
workflow_dispatch:
schedule:
- cron: "0 * * * *"
jobs:
labels:
2022-03-31 18:38:38 +00:00
name: Sync Labels
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3
2022-03-31 18:38:38 +00:00
with:
token: ${{ secrets.BOT_TOKEN }}
- name: Sync Labels
uses: EndBug/label-sync@d682578e83bb20820aef1d1cda75aaa795f217ae # tag=v2
2022-03-31 18:38:38 +00:00
with:
config-file: |
2022-03-31 18:53:00 +00:00
https://raw.githubusercontent.com/truecharts/.github/main/.github/labels.yaml
2022-03-31 18:38:38 +00:00
token: "${{ secrets.BOT_TOKEN }}"
delete-other-labels: true