diff --git a/.github/workflows/sync-labels.yml b/.github/workflows/sync-labels.yml index 2fbc0c7..3cec121 100644 --- a/.github/workflows/sync-labels.yml +++ b/.github/workflows/sync-labels.yml @@ -24,8 +24,6 @@ env: jobs: check: runs-on: ubuntu-latest - permissions: - contents: read steps: - name: Checkout repository @@ -57,7 +55,6 @@ jobs: download: needs: check runs-on: ubuntu-latest - permissions: {} strategy: matrix: @@ -84,9 +81,6 @@ jobs: sync: needs: download runs-on: ubuntu-latest - permissions: - contents: read - issues: write steps: - name: Set environment variables @@ -120,7 +114,7 @@ jobs: path: ${{ env.CONFIGURATIONS_FOLDER }} - name: Remove unneeded artifact - uses: geekyeggo/delete-artifact@v2 + uses: geekyeggo/delete-artifact@v4 with: name: ${{ env.CONFIGURATIONS_ARTIFACT }} @@ -141,4 +135,4 @@ jobs: github-label-sync \ --labels "${{ env.MERGED_CONFIGURATION_PATH }}" \ ${{ steps.dry-run.outputs.flag }} \ - ${{ github.repository }} \ No newline at end of file + ${{ github.repository }}