diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 553fcda5c9..8f64d76743 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,7 +38,6 @@ jobs: uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 with: fetch-depth: 0 - token: ${{ github.actor == 'renovate[bot]' && secrets.NGINX_PAT || github.token }} - name: Setup Golang Environment uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0 diff --git a/.github/workflows/nfr.yml b/.github/workflows/nfr.yml index 8c35e88f64..7507691489 100644 --- a/.github/workflows/nfr.yml +++ b/.github/workflows/nfr.yml @@ -192,7 +192,7 @@ jobs: - name: Open a PR with the results uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8 with: - token: ${{ secrets.NGINX_PAT }} + token: ${{ secrets.GITHUB_TOKEN }} commit-message: NFR Test Results for NGF version ${{ needs.vars.outputs.version }} author: nginx-bot committer: nginx-bot diff --git a/.github/workflows/release-pr.yml b/.github/workflows/release-pr.yml index f3cdf088c8..d96b8b5746 100644 --- a/.github/workflows/release-pr.yml +++ b/.github/workflows/release-pr.yml @@ -20,6 +20,7 @@ jobs: runs-on: ubuntu-24.04 permissions: contents: write + pull-requests: write steps: - name: Branch id: branch @@ -83,7 +84,7 @@ jobs: - name: Create Pull Request uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8 with: - token: ${{ secrets.NGINX_PAT }} + token: ${{ secrets.GITHUB_TOKEN }} commit-message: Release ${{ inputs.version }} title: Release ${{ inputs.version }} draft: true diff --git a/.github/workflows/renovate-build.yml b/.github/workflows/renovate-build.yml index 369b61f993..5d4ab349e9 100644 --- a/.github/workflows/renovate-build.yml +++ b/.github/workflows/renovate-build.yml @@ -49,7 +49,6 @@ jobs: uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 with: ref: ${{ github.head_ref }} - token: ${{ secrets.NGINX_PAT }} - name: Setup Golang Environment uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0