From a98559c097d19c56151d5ce9b9db81d079cb49ba Mon Sep 17 00:00:00 2001 From: Ismo Vuorinen Date: Mon, 24 Apr 2023 01:07:30 +0300 Subject: [PATCH] Update sync-labels-to-own-projects.yml --- .github/workflows/sync-labels-to-own-projects.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/sync-labels-to-own-projects.yml b/.github/workflows/sync-labels-to-own-projects.yml index 0d1eeb5..140274d 100644 --- a/.github/workflows/sync-labels-to-own-projects.yml +++ b/.github/workflows/sync-labels-to-own-projects.yml @@ -7,6 +7,7 @@ on: - main paths: - .github/labels.yml + - .github/workflows/sync-labels-to-own-projects.yml jobs: sync-labels: @@ -14,7 +15,7 @@ jobs: outputs: repos: ${{ steps.repos.outputs.REPOS }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Get Repositories id: repos @@ -30,10 +31,13 @@ jobs: | sed 's|\"||' )" - echo "REPOS='$REPOS'" >> $GITHUB_ENV + EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64) + echo "REPOS<<$EOF" >> "$GITHUB_ENV" + echo $REPOS >> "$GITHUB_ENV" + echo "$EOF" >> "$GITHUB_ENV" - uses: micnncim/action-label-syncer@v1 with: prune: false - repository: ${{ needs.sync-labels.outputs.repos }} + repository: ${{ steps.repos.outputs.REPOS }} token: ${{ secrets.PERSONAL_TOKEN }}