Commit 3baae85
fix(github-actions): delete obsolete branches and close superseded PRs
When using the `create-pr-for-changes` workflow, old branches are not being deleted, and the content of superseded PRs remains open. This change ensures that:
- Obsolete branches are deleted after PR creation.
- Previously created PRs with outdated content are automatically closed.
Example: angular/angular#612031 parent 030487a commit 3baae85
2 files changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
| 132 | + | |
132 | 133 | | |
133 | 134 | | |
134 | 135 | | |
| |||
276 | 277 | | |
277 | 278 | | |
278 | 279 | | |
| 280 | + | |
279 | 281 | | |
280 | 282 | | |
281 | 283 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47995 | 47995 | | |
47996 | 47996 | | |
47997 | 47997 | | |
| 47998 | + | |
47998 | 47999 | | |
47999 | 48000 | | |
48000 | 48001 | | |
| |||
48073 | 48074 | | |
48074 | 48075 | | |
48075 | 48076 | | |
| 48077 | + | |
48076 | 48078 | | |
48077 | 48079 | | |
48078 | 48080 | | |
| |||
0 commit comments