Skip to content

Commit c79ab24

Browse files
authored
Merge pull request #24 from physiopy/testing-1
testing
2 parents fd25f3e + 290bf68 commit c79ab24

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

.github/workflows/main-reviewer.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,23 +9,26 @@ 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:
2832
token: ${{ secrets.GITHUB_TOKEN }}
2933
issue-number: ${{ github.event.pull_request.number }}
30-
body: |
31-
$(cat filled_checklist.md)
34+
body-path: filled_checklist.md

.github/workflows/main_rev_checklist.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Hello @__MAINREV__!
22

3-
You've been assigned to this PR, which means that you've been nominated Main Reviewer! (Lucky you! :ta-da: :ta-da: :ta-da:)
3+
You've been assigned to this PR, which means that you've been nominated Main Reviewer! Lucky you!
44

55
As a Main Reviewer, you are slightly more responsible for the quality of this PR than your fellow Reviewers. If you have any doubt, check [this section on reviewing](https://phys2bids.readthedocs.io/en/latest/contributorfile.html#reviewing) and [this section on being the Main Reviewer](https://phys2bids.readthedocs.io/en/latest/contributorfile.html#mainreviewer) of the documents.
66

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ We use the third-party data archiving tool Zenodo to create a DOI that can be us
4444

4545
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification([emoji key](https://allcontributors.org/docs/en/emoji-key)). Contributions of any kind welcome!
4646

47-
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
47+
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section! -->
4848
<!-- prettier-ignore-start -->
4949
<!-- markdownlint-disable -->
5050
<table>

0 commit comments

Comments
 (0)