Skip to content

Commit 2a71f25

Browse files
authored
Revert "RHOAIENG-26264: switch GITHUB_TOKEN to GH_ACCESS_TOKEN in `instan…"
This reverts commit ac8a566.
1 parent 1e147e0 commit 2a71f25

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/instant-merge.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,20 @@ on: # yamllint disable-line rule:truthy
88
paths:
99
- manifests/base/params-latest.env
1010

11+
permissions:
12+
contents: write
13+
pull-requests: write
14+
checks: write
15+
security-events: write
16+
statuses: write
17+
1118
jobs:
1219
instant-merge:
1320
runs-on: ubuntu-latest
1421
steps:
1522
- name: instant-merge
1623
if: ${{ github.event.sender.login == 'red-hat-konflux[bot]' && ( contains(github.event.pull_request.title, 'Update odh-workbench-jupyter-') || contains(github.event.pull_request.title, 'Update odh-workbench-codeserver-') || contains(github.event.pull_request.title, 'Update odh-pipeline-runtime-') ) }}
1724
env:
18-
GITHUB_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
25+
GITHUB_TOKEN: ${{ github.token }}
1926
run: |
2027
gh pr merge --merge --admin ${{ github.event.pull_request.html_url }}

0 commit comments

Comments
 (0)