Description
pull_master accepts a destination parameter, but always tries to PR to master
Steps to Reproduce
- Run
pull_changes from a repository with no master branch
- Observe action failure
Relevant Code
|
uses: repo-sync/pull-request@v2 |
|
with: |
|
github_token: ${{ secrets.GITHUB_TOKEN }} |
|
pr_reviewer: ${{ inputs.pr_reviewer }} |
|
pr_assignee: ${{ inputs.pr_assignee }} |
|
pr_draft: ${{ inputs.pr_draft }} |
|
pr_title: ${{ inputs.pr_title }} |
|
pr_body: ${{ inputs.pr_body }} |
Other Notes
Failing workflow
Description
pull_masteraccepts adestinationparameter, but always tries to PR tomasterSteps to Reproduce
pull_changesfrom a repository with nomasterbranchRelevant Code
.github/.github/workflows/pull_master.yml
Lines 31 to 38 in 4ce6b95
Other Notes
Failing workflow