We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dabaa5a commit 2819debCopy full SHA for 2819deb
.github/workflows/prauto.yml
@@ -15,6 +15,7 @@ jobs:
15
PRNUM: ${{ github.event.pull_request.number }}
16
PRHEAD: ${{ github.event.pull_request.head.label }}
17
PRAUTHOR: ${{ github.event.pull_request.user.login }}
18
+ PR_AUTHOR_TYPE: ${{ github.event.pull_request.user.type }}
19
if: "!github.event.pull_request.draft"
20
run: |
21
commentPR () {
@@ -42,7 +43,7 @@ jobs:
42
43
' -f colID="$(colID "Needs review")" -f prID="$PRID"
44
}
45
- if gh api orgs/cli/public_members/$PRAUTHOR --silent 2>/dev/null
46
+ if [ "$PR_AUTHOR_TYPE" = "Bot" ] || gh api orgs/cli/public_members/$PRAUTHOR --silent 2>/dev/null
47
then
48
if ! errtext="$(addToBoard 2>&1)"
49
0 commit comments