diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 7c6675543..c5068e002 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -7,7 +7,7 @@ on: jobs: format: - if: ! startsWith(github.event.head_commit.message, 'style(fmt)') + if: ${{ ! startsWith(github.event.head_commit.message, 'style(fmt)') }} runs-on: ubuntu-latest steps: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 @@ -20,4 +20,4 @@ jobs: git config user.email github-actions@github.com git add . git commit -m "style(fmt): code formatted" - git push \ No newline at end of file + git push