Skip to content

Commit

Permalink
fix: fix condition when CI run
Browse files Browse the repository at this point in the history
  • Loading branch information
Qs-F committed Sep 27, 2024
1 parent b477f82 commit 1a9846a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/previewRelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
previewRelease:
if: "startsWith(github.event.pull_request.head.ref, 'merge-release-')"
if: ${{ (github.event_name != 'pull_request_review') || (startsWith(github.event.pull_request.head.ref, 'merge-release-')) }}
runs-on: ubuntu-latest

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/titleCheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
conventional_commits:
if: "startsWith(github.event.pull_request.head.ref, 'merge-release-')"
if: ${{ (github.event_name != 'pull_request_review') || (startsWith(github.event.pull_request.head.ref, 'merge-release-')) }}
runs-on: ubuntu-latest
steps:
- name: check title
Expand Down

0 comments on commit 1a9846a

Please sign in to comment.