File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,13 +36,20 @@ jobs:
3636 env :
3737 PR_BODY : ${{ github.event.pull_request.body }}
3838 PR_AUTHOR : ${{ github.event.pull_request.user.login }}
39+ AUTHOR_ASSOCIATION : ${{ github.event.pull_request.author_association }}
3940 run : |
4041 # Skip for bots (dependabot, renovate, github-actions)
4142 if [[ "$PR_AUTHOR" == *"[bot]"* || "$PR_AUTHOR" == "dependabot" ]]; then
4243 echo "Bot PR — skipping linked issue check."
4344 exit 0
4445 fi
4546
47+ # Skip for org members
48+ if [[ "$AUTHOR_ASSOCIATION" == "MEMBER" ]]; then
49+ echo "Org member ($PR_AUTHOR) — skipping linked issue check."
50+ exit 0
51+ fi
52+
4653 if [ -z "$PR_BODY" ]; then
4754 echo "::error::PR body is empty. Every PR must link an issue or discussion."
4855 echo "Use 'Closes #<number>', 'Fixes #<number>', 'Relates to #<number>', or include a discussion URL."
You can’t perform that action at this time.
0 commit comments