diff --git a/.github/workflows/Build.yaml b/.github/workflows/Build.yaml index c71f02c8..bcbe45b7 100644 --- a/.github/workflows/Build.yaml +++ b/.github/workflows/Build.yaml @@ -7,14 +7,14 @@ concurrency: group: build-${{ github.ref }} cancel-in-progress: true +permissions: + contents: write + pull-requests: write + jobs: setup: runs-on: ubuntu-latest - permissions: - contents: write - pull-requests: write - steps: - name: Checkout uses: actions/checkout@v4 @@ -84,10 +84,6 @@ jobs: dependency_guard: needs: setup runs-on: ubuntu-latest - permissions: - # Give the default GITHUB_TOKEN write permission to commit and push the - # added or changed files to the repository. - contents: write steps: - uses: actions/checkout@v4 with: