From eb64841a56b5161b49d076d80b497d5094bd6891 Mon Sep 17 00:00:00 2001 From: SuperKali Date: Mon, 22 Dec 2025 14:51:08 +0100 Subject: [PATCH] Add workflow to sync GitHub labels from labels.yml --- .github/workflows/labels.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/labels.yml diff --git a/.github/workflows/labels.yml b/.github/workflows/labels.yml new file mode 100644 index 0000000..d0627c1 --- /dev/null +++ b/.github/workflows/labels.yml @@ -0,0 +1,26 @@ +name: Sync Labels + +on: + push: + branches: [main] + paths: + - '.github/labels.yml' + workflow_dispatch: + +jobs: + sync: + name: Sync labels + runs-on: ubuntu-latest + permissions: + issues: write + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Sync labels + uses: crazy-max/ghaction-github-labeler@v5 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + yaml-file: .github/labels.yml + skip-delete: false + dry-run: false