Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
momentmaker committed Aug 13, 2024
1 parent 3a93e0c commit 1084cb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-publish-develop-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ jobs:
echo "image-tag=${short_sha}" | tee -a $GITHUB_OUTPUT
echo "build-publish=${{ github.event.inputs.build-publish }}" | tee -a $GITHUB_OUTPUT
else
if [[ ${{ github.event }} == "pull_request" ]]; then
if [[ ${{ github.event_name }} == "pull_request" ]]; then
echo "image-tag=pr-${{ github.event.number }}-${short_sha}" | tee -a $GITHUB_OUTPUT
if [[ contains( github.event.pull_request.labels.*.name, 'build-publish') ]]; then
if [[ contains(${{ github.event.pull_request.labels.*.name }}, 'build-publish') ]]; then
echo "build-publish=true" | tee -a $GITHUB_OUTPUT
fi
fi
Expand Down

0 comments on commit 1084cb3

Please sign in to comment.