Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .github/workflows/generate-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,16 @@ jobs:
continue
fi

# Check for /release-note in PR comments
# Check PR comments for commands
PR_COMMENTS=$(gh pr view "$PR_NUMBER" --json comments --jq '.comments[].body' 2>/dev/null || echo "")

# Check for /skip-changelog command
if echo "$PR_COMMENTS" | grep -q "^/skip-changelog"; then
echo " Found /skip-changelog, skipping PR"
continue
fi

# Check for /release-note command
RELEASE_NOTE=$(echo "$PR_COMMENTS" | grep "^/release-note " | sed 's|^/release-note ||' | head -1 || echo "")
if [ -n "$RELEASE_NOTE" ]; then
echo " Found /release-note: $RELEASE_NOTE"
Expand Down