Skip to content

Commit

Permalink
Remove extra if from Action step
Browse files Browse the repository at this point in the history
  • Loading branch information
Mandrenkov committed Oct 27, 2023
1 parent d7c6874 commit d389761
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generate-docker-image-tags/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ runs:
printf 'Cannot determine tags: Workflow must be triggered by "push", "pull_request", or "release" event.' && exit 1
fi
echo "Branch is '$BRANCH'."
echo "branch=$BRANCH" >> $GITHUB_OUTPUT
- id: get-pr-number
Expand Down Expand Up @@ -97,7 +98,6 @@ runs:
- id: get-branch-tags
shell: bash
if: inputs.shortcut-api-token
run: |
BRANCH=${{ steps.get-branch.outputs.branch }}
COMMIT_SHA=${GITHUB_SHA:0:7}
Expand Down

0 comments on commit d389761

Please sign in to comment.