diff --git a/.github/workflows/main-reviewer.yml b/.github/workflows/main-reviewer.yml index 8f49100..32d3c88 100644 --- a/.github/workflows/main-reviewer.yml +++ b/.github/workflows/main-reviewer.yml @@ -32,7 +32,7 @@ jobs: - name: Determine checklist type id: checklist_type run: | - COUNT=$(echo "$REVIEWERS" | grep -c .) + COUNT=$(echo "$REVIEWERS" | wc -w) if [ "$COUNT" -eq "1" ]; then echo "TEMPLATE=main_rev_checklist.md" >> $GITHUB_ENV else diff --git a/README.md b/README.md index 6de7bf9..22eb1d9 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ This workflow automatically assigns labels to a PR if the PR edits a specific fi ### 4 - welcome bot app, defined in [config.yml](https://github.com/physiopy/physiopy-test-workflows/blob/master/.github/config.yml) This bot automatically posts welcome and thank you messages when a contributor posts their first issue, first PR, and merges first PR. This is a nice way to welcome and thank new contributors, but also acts as an opportunity to direct them towards the relevant contributor guidelines, as needed. -### 5 - reviewer checklists on a PR (description to come once workflow finalised) +### 5 - reviewer checklists on a PR (description to come - once workflow finalised) Example: