File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 99 runs-on : ubuntu-latest
1010
1111 steps :
12- # Step 1: Extract the main reviewer (assignee) and PR details
12+ # Step 1: Check out the repository
13+ - name : Checkout repository
14+ uses : actions/checkout@v3
15+
16+ # Step 2: Extract the main reviewer (assignee) and PR details
1317 - name : Extract PR details
1418 id : pr_details
1519 run : |
1620 echo "ASSIGNEE=$(jq -r '.assignee.login' < $GITHUB_EVENT_PATH)" >> $GITHUB_ENV
1721
18- # Step 2 : Replace the placeholder in the checklist template
22+ # Step 3 : Replace the placeholder in the checklist template
1923 - name : Replace reviewer name in checklist template
2024 run : |
2125 ASSIGNEE=${{ env.ASSIGNEE }}
2226 sed "s/__MAINREV__/$ASSIGNEE/g" .github/workflows/main_rev_checklist.md > filled_checklist.md
2327
24- # Step 3 : Post the filled checklist as a comment on the PR
28+ # Step 4 : Post the filled checklist as a comment
2529 - name : Post checklist as a comment
2630 uses : peter-evans/create-or-update-comment@v3
2731 with :
You can’t perform that action at this time.
0 commit comments