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
Check Potential Conflicts can fail on fork PRs when triggered by pull_request_review, even when the same head SHA already passed on pull_request_target and there are no predicted conflicts.
Example
PR: #7237
Head SHA: 84534b24709ccf165ab81525c4de58913d80d39f
Summary
Check Potential Conflictscan fail on fork PRs when triggered bypull_request_review, even when the same head SHA already passed onpull_request_targetand there are no predicted conflicts.Example
PR: #7237
Head SHA:
84534b24709ccf165ab81525c4de58913d80d39fSuccessful run on PR event:
pull_request_targetvalidate_conflictsreported no conflicts andRemove conflict comment if no conflictssucceededFailing run on review event for the same SHA:
pull_request_reviewvalidate_conflictsagain reported no conflicts, butRemove conflict comment if no conflictsfailed with:Resource not accessible by integrationRoot cause
This looks like a workflow permission/event mismatch, not a branch-specific code problem:
thepastaclaw/dash->dashpay/dash).github/workflows/predict-conflicts.ymlruns on bothpull_request_targetandpull_request_reviewpull_request_review, themshick/add-pr-comment@v2step that updates the sticky comment can fail withResource not accessible by integrationpull_request_target, so this is not caused by the PR contentsReproduction
dashpay/dashCheck Potential Conflictsreports no conflicts on the normal PR-triggered runpull_request_review-triggeredCheck Potential Conflictsrun fail inRemove conflict comment if no conflictsPossible fixes
pull_request_reviewcontinue-on-error: true/ permission-aware logic aroundmshick/add-pr-comment