Skip to content

Commit

Permalink
test action
Browse files Browse the repository at this point in the history
  • Loading branch information
Noahnc committed Oct 26, 2023
1 parent e4e0017 commit 59a337b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ runs:
id: get_head_branch
working-directory: ${{ inputs.working_directory }}
run: |
head_branch="{git for-each-ref --format="%(upstream:short)" $(git symbolic-ref -q HEAD)}"
head_branch_ref="{git symbolic-ref -q HEAD}"
head_branch="$(git for-each-ref --format="%(upstream:short)" $head_branch_ref)"
echo "Current Head Branch: $head_branch"
echo "head_branch=$current_branch" >> "$GITHUB_OUTPUT"
shell: bash
Expand Down

0 comments on commit 59a337b

Please sign in to comment.