diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8e0aceb4f0..0b7bd71a00 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,12 +15,13 @@ on: pull_request: branches: - main + merge_group: jobs: publish: name: ${{ github.ref == 'refs/heads/main' && 'Publish' || 'Publish (dry-run)' }} # Only run if the test workflow succeeded or it's a PR (where we don't want to delay the dry run) - if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'pull_request' }} + if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'pull_request' || github.event_name == 'merge_group' }} runs-on: ubuntu-latest permissions: contents: write # to be able to publish a GitHub release diff --git a/package.json b/package.json index 8cc1a4511d..fa7c7f981d 100644 --- a/package.json +++ b/package.json @@ -140,7 +140,7 @@ [ "@semantic-release/github", { - "successComment": false, + "successCommentCondition": false, "releasedLabels": false } ]