Skip to content

Commit

Permalink
Improve branch naming.
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein committed Nov 9, 2022
1 parent 0331670 commit b40aa9f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -271,15 +271,15 @@ runs:
# Create a branch for the current HEAD, which happens to be a merge commit
git checkout -b __action_branch_name
# Check out the target branch and name it
git checkout -b ${{
# Name the target branch
git branch ${{
github.event.pull_request.base.ref
}} --track origin/${{
github.event.pull_request.base.ref
}}
# Check out the merge commit
git checkout __action_branch_name
# Show branch information
git branch -vv
shell: bash
working-directory: >-
.tmp-ansible-collection-checkout
Expand Down

0 comments on commit b40aa9f

Please sign in to comment.