From 58bf12b00aa606339e8dd4fd4ed06a0febe788f4 Mon Sep 17 00:00:00 2001 From: rlnt Date: Fri, 1 Mar 2024 14:29:20 +0100 Subject: [PATCH] adjust version and permissions for label sync --- .github/workflows/label-syncer.yml | 36 +++++++++++++++++------------- 1 file changed, 21 insertions(+), 15 deletions(-) diff --git a/.github/workflows/label-syncer.yml b/.github/workflows/label-syncer.yml index 949d17f..0fe4607 100644 --- a/.github/workflows/label-syncer.yml +++ b/.github/workflows/label-syncer.yml @@ -16,24 +16,30 @@ concurrency: jobs: sync-labels: runs-on: ubuntu-latest + permissions: + pull-requests: write + issues: write + strategy: + matrix: + repos: + - AlmostReliable/almostlib + - AlmostReliable/almostpacked + - AlmostReliable/almostunified + - AlmostReliable/attributetooltipfix + - AlmostReliable/energymeter-forge + - AlmostReliable/kubejs-enderio + - AlmostReliable/lazierae2-forge + - AlmostReliable/lootjs + - AlmostReliable/merequester + - AlmostReliable/morejs + - AlmostReliable/ponderjs + - AlmostReliable/summoningrituals steps: - name: Checkout uses: actions/checkout@v4 - - uses: micnncim/action-label-syncer@v1 + - name: Sync labels + uses: micnncim/action-label-syncer@v1.3.0 with: - manifest: .github/labels.yml - repository: | - AlmostReliable/almostlib - AlmostReliable/almostpacked - AlmostReliable/almostunified - AlmostReliable/attributetooltipfix - AlmostReliable/energymeter-forge - AlmostReliable/kubejs-enderio - AlmostReliable/lazierae2-forge - AlmostReliable/lootjs - AlmostReliable/merequester - AlmostReliable/morejs - AlmostReliable/ponderjs - AlmostReliable/summoningrituals + repository: ${{ matrix.repos }} token: ${{ secrets.LABEL_SYNC_TOKEN }}