Skip to content

Commit ac8a566

Browse files
authored
RHOAIENG-26264: switch GITHUB_TOKEN to GH_ACCESS_TOKEN in instant-merge.yaml and remove unused permissions (opendatahub-io#935)
1 parent 3720755 commit ac8a566

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

.github/workflows/instant-merge.yaml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,13 @@ 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-
1811
jobs:
1912
instant-merge:
2013
runs-on: ubuntu-latest
2114
steps:
2215
- name: instant-merge
2316
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-') ) }}
2417
env:
25-
GITHUB_TOKEN: ${{ github.token }}
18+
GITHUB_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
2619
run: |
2720
gh pr merge --merge --admin ${{ github.event.pull_request.html_url }}

0 commit comments

Comments
 (0)