Skip to content

Commit

Permalink
Fix the unexpect CI call-by-workflow when submit a pr (#1072)
Browse files Browse the repository at this point in the history
Signed-off-by: bzsuni <[email protected]>
  • Loading branch information
bzsuni authored Dec 20, 2023
1 parent 7014944 commit 9b6a17e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-image-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ permissions: write-all
jobs:
call-by-workflow:
uses: ./.github/workflows/call-release-image.yaml
if: ${{ inputs.ref != '' }}
if: ${{ github.event_name != 'pull_request_target' && inputs.ref != '' }}
with:
ref: ${{ inputs.ref }}
push: "false"
Expand Down

0 comments on commit 9b6a17e

Please sign in to comment.