Skip to content

fix(workflows): target repository default branch for auto PRs#223

Open
github-actions[bot] wants to merge 1 commit into
masterfrom
feat/default-branch
Open

fix(workflows): target repository default branch for auto PRs#223
github-actions[bot] wants to merge 1 commit into
masterfrom
feat/default-branch

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

📝 Brief description

fix(workflows): target repository default branch for auto PRs

💻 Commits

  • 3c6525b - ChristophShyper - 2026-06-12 18:04:44
    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.

📁 Modified files

Taskfile.variables.yml | 16 +++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)

⚠️ Additional information

  • Pushed to a branch with a proper name and provided proper commit message.
  • Provided a clear and concise description of what the issue is.

Check CONTRIBUTING.md and CODE_OF_CONDUCT.md for more information

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant