Skip to content

Commit 20ae069

Browse files
committed
Use GITHUB_TOKEN for opening automated PRs
1 parent ab9c023 commit 20ae069

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/nfr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ jobs:
192192
- name: Open a PR with the results
193193
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
194194
with:
195-
token: ${{ secrets.NGINX_PAT }}
195+
token: ${{ secrets.GITHUB_TOKEN }}
196196
commit-message: NFR Test Results for NGF version ${{ needs.vars.outputs.version }}
197197
author: nginx-bot <[email protected]>
198198
committer: nginx-bot <[email protected]>

.github/workflows/release-pr.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
runs-on: ubuntu-24.04
2121
permissions:
2222
contents: write
23+
pull-requests: write
2324
steps:
2425
- name: Branch
2526
id: branch
@@ -83,7 +84,7 @@ jobs:
8384
- name: Create Pull Request
8485
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
8586
with:
86-
token: ${{ secrets.NGINX_PAT }}
87+
token: ${{ secrets.GITHUB_TOKEN }}
8788
commit-message: Release ${{ inputs.version }}
8889
title: Release ${{ inputs.version }}
8990
draft: true

0 commit comments

Comments
 (0)