diff --git a/.github/workflows/git-sync.yml b/.github/workflows/git-sync.yml index e72f848a5..afa99c54a 100644 --- a/.github/workflows/git-sync.yml +++ b/.github/workflows/git-sync.yml @@ -47,7 +47,7 @@ jobs: sha: ${{ steps.find-pull-request.outputs.head-sha }} - uses: peter-evans/create-pull-request@v4 - if: "${{ contains(github.event.head_commit.message, 'chore(deps') == false }}" + if: startsWith(github.event.head_commit.message, "chore(deps)") == false && startsWith(github.event.head_commit.message, "chore(deps-dev)") == false with: token: ${{ secrets.CI_PAT_TOKEN }} branch: ${{ github.ref }}