ci: skip ci action situation

[skip ci]
This commit is contained in:
禾几海
2020-11-14 21:33:56 +08:00
parent 19fd3e55f7
commit 39a8c33be4
2 changed files with 2 additions and 4 deletions

View File

@@ -6,9 +6,8 @@ on:
jobs:
build:
if: "!contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '.md')" # 如果 commit 信息包含以下关键字则跳过该任务
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 12.x