File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11name : Notify documentation review assignees on new commits
22
33on :
4- pull_request :
4+ pull_request_target :
55 # Fires on new commits and on label changes, so the job
66 # starts as soon as the label is added, then on every push.
77 types : [synchronize, labeled]
@@ -18,11 +18,11 @@ jobs:
1818 pull-requests : read
1919 runs-on : [self-hosted, auto-provisioned, build-preset-analytic-node]
2020 env :
21- GITHUB_TOKEN : ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
21+ GITHUB_TOKEN : ${{ secrets.YDBOT_TOKEN }}
2222 steps :
2323 - uses : actions/github-script@v7
2424 with :
25- github-token : ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
25+ github-token : ${{ secrets.YDBOT_TOKEN }}
2626 script : |
2727 const pr = context.payload.pull_request;
2828 const assignees = pr.assignees.map(a => `@${a.login}`).join(' ');
You can’t perform that action at this time.
0 commit comments