diff --git a/.github/workflows/labels-sync.yml b/.github/workflows/labels-sync.yml index fd97de6..006401f 100644 --- a/.github/workflows/labels-sync.yml +++ b/.github/workflows/labels-sync.yml @@ -26,15 +26,31 @@ on: required: true jobs: + repos: + name: Prepare repositories list + runs-on: ubuntu-latest + outputs: + matrix: ${{ steps.repo.outputs.matrix }} + + steps: + - id: repo + run: | + { + echo 'matrix<> "$GITHUB_OUTPUT" + + cat "$GITHUB_OUTPUT" + label-sync: runs-on: ubuntu-latest + needs: repos strategy: fail-fast: false - max-parallel: 20 + max-parallel: 10 matrix: - repo: - - maven-changes-plugin - - maven-gh-actions-shared + repo: ${{ fromJSON( needs.repos.outputs.matrix ) }} steps: - name: Mask GitHub token