diff --git a/.github/workflows/check_build.yml b/.github/workflows/check_build.yml index f6932f4..16d3ad1 100644 --- a/.github/workflows/check_build.yml +++ b/.github/workflows/check_build.yml @@ -15,7 +15,7 @@ jobs: fetch-depth: 0 - uses: actions/setup-node@v3 - run: npm ci - - run: npx commitlint --from HEAD~${{ github.event.pull_request.commits }} --to HEAD + - run: npx commitlint --from ${{ github.event.pull_request.head.sha }}~${{ github.event.pull_request.commits }} --to ${{ github.event.pull_request.head.sha }} --verbose check: name: Check build runs-on: ubuntu-latest diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 41fcd99..2695fb6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,8 +1,6 @@ name: Release -on: - push: - branches: [main] +on: workflow_dispatch jobs: release: diff --git a/release.config.js b/release.config.js index 2809fdf..5c9d004 100644 --- a/release.config.js +++ b/release.config.js @@ -1,7 +1,8 @@ module.exports = { ...require('@codingame/semantic-release-config'), branches: [ - 'main' + 'main', + { name: '*', channel: 'next', prerelease: true } ], plugins: [ '@semantic-release/commit-analyzer',