Skip to content

Commit

Permalink
ci: replace contains with startsWith in versioning workflow (#376)
Browse files Browse the repository at this point in the history
* ci: remove ignore add from versioning

* ci: remove test code

* ci: replace contains with startsWith
  • Loading branch information
sahani-deriv authored Dec 22, 2023
1 parent 1db8715 commit 8bb1da4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
runs-on: ubuntu-latest
if: >
github.event.pull_request.merged == true &&
!contains(github.event.pull_request.title, 'chore') &&
!contains(github.event.pull_request.title, 'ci') &&
!contains(github.event.pull_request.title, 'add')
!startsWith(github.event.pull_request.title, 'chore') &&
!startsWith(github.event.pull_request.title, 'ci') &&
!startsWith(github.event.pull_request.title, 'add')
steps:
- name: Git Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
Expand Down

0 comments on commit 8bb1da4

Please sign in to comment.