diff --git a/.github/workflows/performance.yml b/.github/workflows/performance.yml index 5b448cc5a..774f62e6d 100644 --- a/.github/workflows/performance.yml +++ b/.github/workflows/performance.yml @@ -3,7 +3,7 @@ name: Performance on: push: branches: - - develop + - master paths: - 'src/**' - 'performance/**' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 29ee83a0e..fc44dc04d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,6 +5,7 @@ on: - master jobs: release: + if: "startsWith(github.event.head_commit.message, 'ci(release): ts auto mock new version') != true" runs-on: ubuntu-latest strategy: matrix: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index dcca6cf77..27a6d7ca1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -3,11 +3,8 @@ name: Test on: push: branches: - - develop - master pull_request: - branches-ignore: - - master jobs: test: diff --git a/.releaserc.json b/.releaserc.json index 5273e05aa..7284f68ff 100644 --- a/.releaserc.json +++ b/.releaserc.json @@ -74,7 +74,7 @@ "package-lock.json", "CHANGELOG.md" ], - "message": "ci(release): new version ${nextRelease.version}" + "message": "ci(release): ts auto mock new version ${nextRelease.version}" } ], [ diff --git a/package.json b/package.json index be1415e73..f1798c84f 100644 --- a/package.json +++ b/package.json @@ -88,7 +88,7 @@ }, "husky": { "hooks": { - "commit-msg": "if git-branch-is develop; then commitlint -E HUSKY_GIT_PARAMS; fi" + "commit-msg": "if git-branch-is master; then commitlint -E HUSKY_GIT_PARAMS; fi" } }, "config": {