Skip to content

Commit

Permalink
Merge pull request #12936 from Expensify/tgolen-fix-githubaction-revi…
Browse files Browse the repository at this point in the history
…ewerchecklist-break

[Internal QA] Fix the way the reviewer checklist is found
  • Loading branch information
sketchydroide authored Nov 23, 2022
2 parents 436422a + 0093d7d commit ece97e2
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 17 deletions.
51 changes: 36 additions & 15 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ This is a checklist for PR authors. Please make sure to complete all tasks and c
- [ ] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
- [ ] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
- [ ] I tested this PR with a [High Traffic account](https://github.com/Expensify/App/blob/main/contributingGuides/CONTRIBUTING.md#high-traffic-accounts) against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

- [ ] I included screenshots or videos for tests on [all platforms](https://github.com/Expensify/App/blob/main/contributingGuides/CONTRIBUTING.md#make-sure-you-can-test-on-all-platforms)
- [ ] I ran the tests on **all platforms** & verified they passed on:
- [ ] iOS / native
Expand Down Expand Up @@ -167,23 +166,45 @@ The reviewer will copy/paste it into a new comment and complete it after the aut

</details>

### Screenshots
<!-- Add screenshots for all platforms tested. Pull requests won't be merged unless the screenshots show the app was tested on all platforms.-->
### Screenshots/Videos
<details>
<summary>Web</summary>

<!-- add screenshots or videos here -->

</details>

<details>
<summary>Mobile Web - Chrome</summary>

<!-- add screenshots or videos here -->

</details>

<details>
<summary>Mobile Web - Safari</summary>

<!-- add screenshots or videos here -->

</details>

<details>
<summary>Desktop</summary>

<!-- add screenshots or videos here -->

#### Web
<!-- Insert screenshots of your changes on the web platform-->
</details>

<details>
<summary>iOS</summary>

#### Mobile Web - Chrome
<!-- Insert screenshots of your changes on the web platform (from chrome mobile browser)-->
<!-- add screenshots or videos here -->

#### Mobile Web - Safari
<!-- Insert screenshots of your changes on the web platform (from safari mobile browser)-->
</details>

#### Desktop
<!-- Insert screenshots of your changes on the desktop platform-->
<details>
<summary>Android</summary>

#### iOS
<!-- Insert screenshots of your changes on the iOS platform-->
<!-- add screenshots or videos here -->

#### Android
<!-- Insert screenshots of your changes on the Android platform-->
</details>
2 changes: 1 addition & 1 deletion .github/actions/javascript/reviewerChecklist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ function checkIssueForCompletedChecklist(numberOfChecklistItems) {
for (let i = 0; i < combinedComments.length; i++) {
// Skip all other comments if we already found the reviewer checklist
if (foundReviewerChecklist) {
return;
break;
}

const whitespace = /([\n\r])/gm;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ function checkIssueForCompletedChecklist(numberOfChecklistItems) {
for (let i = 0; i < combinedComments.length; i++) {
// Skip all other comments if we already found the reviewer checklist
if (foundReviewerChecklist) {
return;
break;
}

const whitespace = /([\n\r])/gm;
Expand Down

0 comments on commit ece97e2

Please sign in to comment.