Skip to content

Commit 5582231

Browse files
committed
ci: update pr.yml
1 parent 5974b08 commit 5582231

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@ jobs:
3333
3434
action=plan
3535
36-
if [ "$EVENT_NAME" == "push" && "$BRANCH" == "main" ]; then
36+
if [[ "$EVENT_NAME" == "push" && "$BRANCH" == "main" ]]; then
3737
event_type="merge"
3838
action="apply"
3939
fi
4040
41-
if [ ("$EVENT_NAME" == "push" || "$EVENT_NAME" == "release") && "$TAG" != "" ]; then
41+
if [[ ("$EVENT_NAME" == "push" || "$EVENT_NAME" == "release") && "$TAG" != "" ]]; then
4242
event_type="release"
4343
action="apply"
4444
fi

0 commit comments

Comments
 (0)