From f425c34fa115f211e4c3b4a68bf47f62829e732d Mon Sep 17 00:00:00 2001 From: Sorabh Hamirwasia Date: Thu, 9 May 2024 11:10:14 -0700 Subject: [PATCH] Add github action for labels sync --- .github/workflows/sync_labels.yml | 20 ++++++++++++++++++++ 1 file changed, 20 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 0000000000000..82434cf1a0396 --- /dev/null +++ b/.github/workflows/sync_labels.yml @@ -0,0 +1,20 @@ +name: Sync labels +on: + schedule: + - cron: "*/5 * * * *" + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + + - name: Synchronize labels + uses: julbme/gh-action-manage-label@v1 + with: + from: https://github.com/sohami/.github/tree/main/.github/config/labels.yml + skip_delete: false + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}