Skip to content

fix(discord-bot): use pull_request instead of pull_request_target - #103

Merged
anis022 merged 1 commit into
mainfrom
fix/discord-pull-request-event
Dec 4, 2026
Merged

anis022 merged 1 commit into
mainfrom
fix/discord-pull-request-event

Conversation

@anis022

@anis022 anis022 commented Dec 4, 2026

Copy link
Copy Markdown
Member

GitHub now blocks pull_request_target on public repos by default, so every PR notification run (opened, review requested, closed...) ended in a startup failure and nothing was sent on Discord.

This switches the workflow to pull_request. PRs from forks get no secrets with pull_request, so the job now skips them instead of failing. All our PRs come from branches in this repo, so nothing changes for us.

… pull_request_target

GitHub now blocks pull_request_target on public repositories by default, so every
PR notification run ended in a startup failure. PRs from forks are skipped because
their runs get no secrets.
@anis022
anis022 merged commit 03f2b2d into main Dec 4, 2026
1 check passed
@anis022
anis022 deleted the fix/discord-pull-request-event branch December 4, 2026 17:37
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