fix(workflow): skip run on format commit

This commit is contained in:
源文雨
2024-07-04 19:45:57 +09:00
parent 2de7bb6f82
commit 9c4865aa52
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ jobs:
push-format:
runs-on: ubuntu-latest
if: github.actor != 'github-actions[bot]'
if: "!contains(github.event.head_commit.message, 'chore(format): ')"
permissions:
contents: write
+1 -1
View File
@@ -4,7 +4,7 @@ jobs:
build:
runs-on: ${{ matrix.os }}
if: github.actor != 'github-actions[bot]'
if: "!contains(github.event.head_commit.message, 'chore(format): ')"
strategy:
matrix: