diff --git a/.github/workflows/continuous-deployment.yml b/.github/workflows/continuous-deployment.yml index f885858e..3c5e97c3 100644 --- a/.github/workflows/continuous-deployment.yml +++ b/.github/workflows/continuous-deployment.yml @@ -7,6 +7,7 @@ on: jobs: publish: + if: contains(github.event.head_commit.message, '[Release]') #skip: if it's not a release merge name: publish runs-on: macos-latest steps: diff --git a/.github/workflows/release-workflow.yml b/.github/workflows/release-workflow.yml index cb5a0824..f98ca710 100644 --- a/.github/workflows/release-workflow.yml +++ b/.github/workflows/release-workflow.yml @@ -29,5 +29,5 @@ jobs: pull_request_token: ${{ secrets.GIT_TOKEN }} head: release base: master - title: 'chore: Release a new version' + title: '[Release] chore: Release a new version' body: 'New release merge request'