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
fix: auto-rebase skips failed PRs and eliminates notification spam (#6924)
- Replace peter-evans/rebase@v4 with custom github-script that wraps
each PR in its own try/catch — failed rebases are skipped instead of
stopping the entire workflow
- Use execFileSync (no shell) to prevent injection via branch names
- Add merge-base check to skip PRs already up-to-date (no useless push)
- Add concurrency group to prevent overlapping rebase runs
- Handle deleted forks (null head.repo) and missing maintainer access
- Sequence conflict-check after auto-rebase via workflow_run instead of
running both on push:master in parallel — prevents false-alarm
'merge conflicts' comments on PRs that auto-rebase is about to fix
- Suppress commentOnClean to avoid 'resolved' comment spam
# Also run when a contributor pushes to their PR branch
6
11
pull_request_target:
7
12
types: [synchronize]
8
13
@@ -39,5 +44,4 @@ jobs:
39
44
```
40
45
41
46
> **Tip:** Enable "Allow edits from maintainers" on this PR so we can auto-rebase for you next time. This only grants access to your PR branch. Your fork's other branches are not affected.
0 commit comments