Commit fa0c793
fix(workflows): target repository default branch for auto PRs (#223)
* fix(workflows): target repository default branch for auto PRs
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.
* fix(action): default organization domain at runtime
Apply a shell-level default for INPUT_ORGANIZATION_DOMAIN so direct docker
execution behaves the same way as the action input definition.
This prevents malformed origin URLs in image-mode e2e runs when the variable
is omitted and keeps github.com as the effective default.
---------
Co-authored-by: ChristophShyper <45788587+ChristophShyper@users.noreply.github.com>1 parent f066ea8 commit fa0c793
2 files changed
Lines changed: 17 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 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
| |||
0 commit comments