You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug: activation job fails with 403 on add_reaction step for pull_request triggers #26690
The activation job in compiled workflows fails when triggered by pull_request events. The add_reaction step attempts to add a 🚀 reaction to the PR but gets a 403: Resource not accessible by integration error, which causes the entire activation job to fail and skips all downstream jobs (agent, safe_outputs, conclusion).
Reproduction
Any workflow compiled with gh-aw v0.68.5 that triggers on pull_request
Open a PR to trigger the workflow
Activation job fails at the "Add reaction" step
Error
POST /repos/github/gh-aw-firewall/issues/2034/reactions - 403
##[error]Failed to add reaction: Resource not accessible by integration
##[error]ERR_API: Failed to add reaction: Resource not accessible by integration
Root Cause
The pull_request event provides a read-only GITHUB_TOKEN by default. The add_reaction.cjs step requires write access to the issues/reactions API, which is not available with the default pull_request token permissions.
Workflows triggered by pull_request_target, issue_comment, or workflow_dispatch have sufficient permissions, but pull_request does not.
Expected Behavior
The activation job should not fail due to a cosmetic reaction step. Options:
Make the reaction step non-fatal (continue-on-error)
Skip the reaction step when the token lacks sufficient permissions
Gate the reaction step on the event type (skip for pull_request)
@copilot provide the same configuration as status-comment for selecting targets and compute permissions in activation job based on those options (status-comment + reaction).
Activity
lpcox commentedon Apr 16, 2026
@pelikhan fyi
pelikhan commentedon Apr 16, 2026
Right there was a change to support status-comment coarser permissions
pelikhan commentedon Apr 16, 2026
@copilot provide the same configuration as status-comment for selecting targets and compute permissions in activation job based on those options (status-comment + reaction).