File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 workflows : ["Record Changes Requested"]
66 types : [completed]
77
8- permissions :
9- pull-requests : write
10- actions : read
8+ permissions : {}
119
1210jobs :
13- get-pr :
14- if : github.event.workflow_run.conclusion == 'success'
15- runs-on : ubuntu-latest
16- outputs :
17- pr_number : ${{ steps.pr.outputs.number }}
18- steps :
19- - uses : actions/download-artifact@v4
20- with :
21- name : pr-info
22- run-id : ${{ github.event.workflow_run.id }}
23- github-token : ${{ github.token }}
24- - id : pr
25- run : echo "number=$(cat pr_number.txt)" >> "$GITHUB_OUTPUT"
26-
2711 draft :
28- needs : get-pr
29- permissions :
30- pull-requests : write
12+ if : github.event.workflow_run.conclusion == 'success'
3113 uses : DIRACGrid/management/.github/workflows/draft-on-changes-requested.yml@master
32- with :
33- pr_number : ${{ fromJSON(needs.get-pr.outputs.pr_number) }}
14+ secrets :
15+ token : ${{ secrets.DRAFT_PAT }}
Original file line number Diff line number Diff line change 99 if : github.event.review.state == 'changes_requested'
1010 runs-on : ubuntu-latest
1111 steps :
12- - run : echo "${{ github.event.pull_request.number }}" > pr_number.txt
13- - uses : actions/upload-artifact@v4
14- with :
15- name : pr-info
16- path : pr_number.txt
12+ - run : ' true'
You can’t perform that action at this time.
0 commit comments