From 7f551ed725d0367dc9214ea1e7f6145535c68e4c Mon Sep 17 00:00:00 2001 From: Han Xiao Date: Sat, 2 May 2020 21:41:20 +0200 Subject: [PATCH] ci: add schema generator --- .github/workflows/cd.yml | 16 ++++++++-------- .github/workflows/copyright.yml | 2 +- .github/workflows/release.yml | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index fa214b74640c8..686dc913287b3 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -1,19 +1,19 @@ name: CD -#on: -# push: -# branches: -# - master - on: push: - branches-ignore: - - '**' # temporally ignore all + branches: + - master + +#on: +# push: +# branches-ignore: +# - '**' # temporally ignore all jobs: update-doc: - if: "!startsWith(github.event.head_commit.message, 'chore')" + if: "!startsWith(github.event.head_commit.message, 'chore') && !startsWith(github.event.head_commit.message, 'build: hotfix')" runs-on: ubuntu-latest steps: - uses: technote-space/toc-generator@v2 diff --git a/.github/workflows/copyright.yml b/.github/workflows/copyright.yml index 5306efade66af..71863304d9138 100644 --- a/.github/workflows/copyright.yml +++ b/.github/workflows/copyright.yml @@ -7,7 +7,7 @@ on: jobs: update-copyright: - if: "!startsWith(github.event.head_commit.message, 'chore')" + if: "!startsWith(github.event.head_commit.message, 'chore') && !startsWith(github.event.head_commit.message, 'build: hotfix')" runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 419c320ef787a..c1bf89b97adb4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,7 +11,7 @@ on: jobs: regular-release: - if: "!startsWith(github.event.head_commit.message, 'chore')" + if: "!startsWith(github.event.head_commit.message, 'chore') && !startsWith(github.event.head_commit.message, 'build: hotfix')" runs-on: ubuntu-latest steps: - uses: actions/checkout@v2