diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4766370..e5c4848 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -6,11 +6,6 @@ concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true -permissions: - contents: read - pages: write - id-token: write - jobs: build: name: Build Scramjet @@ -129,6 +124,7 @@ jobs: name: Upload to Github Pages runs-on: ubuntu-latest needs: [build, tests] + permissions: write-all if: github.ref == 'refs/heads/main' steps: - name: Checkout code