Repository navigation
Commit fc000be
committed
Make release-notes comment step non-fatal to fix CI 403
check_release_notes runs via pull_request_target, so GitHub executes the workflow definition from the default branch (main). For bot-authored PRs such as Maestro/darc dependency updates (e.g. PR #20133), the run's GITHUB_TOKEN is capped and the issue-comment API returns HTTP 403 'Resource not accessible by integration', which failed the required check even though release-notes validation itself passed ('No release notes required').
Mark the 'Create or update comment' step with continue-on-error so posting the informational comment can never fail the check. The real gate (exit 1 when release notes are genuinely missing) is unchanged.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 36ce348 commit fc000be
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
305 | 305 | | |
306 | 306 | | |
307 | 307 | | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
308 | 313 | | |
309 | 314 | | |
| 315 | + | |
310 | 316 | | |
311 | 317 | | |
312 | 318 | | |
| |||
0 commit comments