Skip to content

Commit

Permalink
ci: add schema generator
Browse files Browse the repository at this point in the history
  • Loading branch information
hanxiao committed May 2, 2020
1 parent 1844f6c commit 7f551ed
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/copyright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7f551ed

Please sign in to comment.