Commit 29748b0
fix(workflows): target repository default branch for auto PRs (#156)
Pass github.event.repository.default_branch to action-pull-request in the
reusable auto-pull-request workflow so repositories using main, master, or a
different default branch create PRs against the correct base branch.
This makes the shared auto-PR flow fork-safe for repositories that consume the
reusable workflow.
Co-authored-by: ChristophShyper <45788587+ChristophShyper@users.noreply.github.com>1 parent 6ab1f5d commit 29748b0
1 file changed
Lines changed: 15 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
42 | 56 | | |
43 | 57 | | |
44 | 58 | | |
| |||
0 commit comments