diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index eab978a984..83dc31b091 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,6 +14,13 @@ on: name: Build EmuFlight env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} +permissions: write-all +#permissions: +# id-token: write +# contents: read +# issues: write +# pull-requests: write + jobs: build: continue-on-error: false @@ -139,13 +146,6 @@ jobs: artifacts: if: github.event_name == 'pull_request' needs: build - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - permissions: - id-token: write - contents: read - issues: write - pull-requests: write runs-on: ubuntu-latest continue-on-error: false steps: