Skip to content

Commit 137edea

Browse files
authored
Fix the condition fo skip the tests (#308)
fix ci
1 parent fbb4b29 commit 137edea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/main_workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
run: |
4242
EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64)
4343
echo "COMMIT_MSG<<$EOF" >> $GITHUB_OUTPUT
44-
if [ "${{ github.event_name }}" == "pull_request" ]; then
44+
if [ "${{ github.event_name }}" == "pull_request_target" ]; then
4545
echo "COMMIT_MSG=$(git log -1 --pretty=%B ${{ github.event.pull_request.head.sha }})" # use for debugging
4646
echo "$(git log -1 --pretty=%B ${{ github.event.pull_request.head.sha }})" >> $GITHUB_OUTPUT
4747
echo "$EOF" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)