Skip to content

Commit 221c35f

Browse files
authored
Update steps in main-reviewer workflow
1 parent 6522ca4 commit 221c35f

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/main-reviewer.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,23 @@ jobs:
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:

0 commit comments

Comments
 (0)