Creating a scheduled job to sync labels from the bitnami/vms

Signed-off-by: Alejandro Gómez <morona@vmware.com>
This commit is contained in:
Alejandro Gómez 2022-07-05 13:26:58 +02:00
parent ae468d56c9
commit 8370fb616c
1 changed files with 17 additions and 0 deletions

17
.github/workflows/sync-labels.yml vendored Normal file
View File

@ -0,0 +1,17 @@
name: 'Synchronize labels from the vms repository'
on:
schedule:
# Daily
- cron: '0 1 * * *'
permissions:
issues: write
jobs:
sync-labels:
runs-on: ubuntu-latest
steps:
- uses: EndBug/label-sync@v2
with:
source-repo: bitnami/vms
delete-other-labels: false
token: ${{ secrets.GITHUB_TOKEN }}