We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d50bc2 commit 5e1cb5bCopy full SHA for 5e1cb5b
1 file changed
.github/workflows/generate-changelog.yml
@@ -87,8 +87,16 @@ jobs:
87
continue
88
fi
89
90
- # Check for /release-note in PR comments
+ # Check PR comments for commands
91
PR_COMMENTS=$(gh pr view "$PR_NUMBER" --json comments --jq '.comments[].body' 2>/dev/null || echo "")
92
+
93
+ # Check for /skip-changelog command
94
+ if echo "$PR_COMMENTS" | grep -q "^/skip-changelog"; then
95
+ echo " Found /skip-changelog, skipping PR"
96
+ continue
97
+ fi
98
99
+ # Check for /release-note command
100
RELEASE_NOTE=$(echo "$PR_COMMENTS" | grep "^/release-note " | sed 's|^/release-note ||' | head -1 || echo "")
101
if [ -n "$RELEASE_NOTE" ]; then
102
echo " Found /release-note: $RELEASE_NOTE"
0 commit comments