Skip to content

Commit

Permalink
Merge pull request #153 from tj-actions/fix/is-default
Browse files Browse the repository at this point in the history
fix: bug with is_default boolean output
  • Loading branch information
jackton1 committed Jul 1, 2022
2 parents b214353 + 4cea672 commit b0f914b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ runs:
- id: default
run: |
if [[ "${{ github.ref }}" != "refs/tags/"* ]]; then
if [[ "${{ steps.current_branch.outputs.current_branch }}" == "${{ steps.branch.outputs.ref_branch }}" ]]; then
if [[ "${{ steps.current_branch.outputs.current_branch }}" == "${{ github.event.repository.default_branch }}" ]]; then
echo "::set-output name=is_default::true"
echo "::set-output name=default_branch::${{ github.event.repository.default_branch }}"
else
Expand Down

0 comments on commit b0f914b

Please sign in to comment.