Skip to content

Commit 6958243

Browse files
authored
Merge pull request opendatahub-io#938 from red-hat-data-services/revert-935-update-sa-merge
Revert "RHOAIENG-26264: switch `GITHUB_TOKEN` to `GH_ACCESS_TOKEN` in `instant-merge.yaml` and remove unused permissions" * Reverts red-hat-data-services#935 This thing did work, as documented on https://issues.redhat.com/browse/RHOAIENG-26264, but there are some trouble with accounts and permissions remaining, that I am unable to resolve on my own or with the help of other IDE team members. Therefore, I strongly believe it's best to back off for now and try again later.
2 parents 1e147e0 + 2a71f25 commit 6958243

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)