From 8370fb616c20f289a6fa4dbd5bcea642e704f220 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20G=C3=B3mez?= Date: Tue, 5 Jul 2022 13:26:58 +0200 Subject: [PATCH] Creating a scheduled job to sync labels from the bitnami/vms MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alejandro Gómez --- .github/workflows/sync-labels.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/sync-labels.yml diff --git a/.github/workflows/sync-labels.yml b/.github/workflows/sync-labels.yml new file mode 100644 index 000000000000..99336b3a2ddf --- /dev/null +++ b/.github/workflows/sync-labels.yml @@ -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 }} \ No newline at end of file