File tree 1 file changed +6
-4
lines changed
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 25
25
get_mergeable_prs :
26
26
permissions :
27
27
pull-requests : read
28
- if : github.repository == 'nodejs/node'
28
+ if : github.repository == 'nodejs/node-auto-test '
29
29
runs-on : ubuntu-latest
30
30
outputs :
31
31
numbers : ${{ steps.get_mergeable_prs.outputs.numbers }}
55
55
env :
56
56
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
57
57
commitQueue :
58
+ permissions :
59
+ pull-requests : write
58
60
needs : get_mergeable_prs
59
61
if : needs.get_mergeable_prs.outputs.numbers != ''
60
62
runs-on : ubuntu-latest
68
70
# prevent commits from running CI after they land. It needs
69
71
# to be set here because `checkout` configures GitHub authentication
70
72
# for push as well.
71
- token : ${{ secrets.GH_USER_TOKEN }}
73
+ token : ${{ secrets.GITHUB_TOKEN }}
72
74
73
75
# Install dependencies
74
76
- name : Install Node.js
@@ -94,10 +96,10 @@ jobs:
94
96
ncu-config set owner "${OWNER}"
95
97
env :
96
98
USERNAME : ${{ secrets.JENKINS_USER }}
97
- GH_TOKEN : ${{ secrets.GH_USER_TOKEN }}
99
+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
98
100
JENKINS_TOKEN : ${{ secrets.JENKINS_TOKEN }}
99
101
100
102
- name : Start the Commit Queue
101
103
run : ./tools/actions/commit-queue.sh ${{ env.OWNER }} ${{ env.REPOSITORY }} ${{ needs.get_mergeable_prs.outputs.numbers }}
102
104
env :
103
- GITHUB_TOKEN : ${{ secrets.GH_USER_TOKEN }}
105
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments