Skip to content

fix: exempt bot-authored PRs from Discord discussion URL check#349

Merged
thepagent merged 1 commit intomainfrom
fix/exempt-bot-from-discussion-check
Apr 15, 2026
Merged

fix: exempt bot-authored PRs from Discord discussion URL check#349
thepagent merged 1 commit intomainfrom
fix/exempt-bot-from-discussion-check

Conversation

@thepagent
Copy link
Copy Markdown
Collaborator

Closes the issue where openab-app release PRs (e.g. #346) get flagged by the Discord Discussion URL check and labeled closing-soon.

Problem

The pr-discussion-check.yml workflow requires every PR to include a Discord discussion URL. Bot-authored release PRs (created by openab-app[bot]) don't have one and shouldn't need one — they're automated version bumps.

PR #346 (release: v0.7.5-beta.1) was flagged and will be auto-closed in 3 days by close-stale-prs.yml.

Fix

Skip the check when pr.user.type === 'Bot'. Also cleans up any existing warning comment and closing-soon label if the workflow re-runs on a bot PR.

Discord Discussion URL: https://discord.com/channels/1352702813/1493128598654029996

Release PRs created by openab-app bot don't need a Discord
discussion URL. Skip the check when pr.user.type is Bot, and
clean up any existing warning comment/label.
@thepagent thepagent merged commit e74962b into main Apr 15, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant