diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index ec52733..12462f7 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -68,11 +68,11 @@ jobs: # Check whether the release should be published. We publish only when the trigger PR is # 1. merged - # 2. to the master branch + # 2. to the main branch # 3. with the label 'release:publish', and # 4. the title prefix '[chore] Release '. if: github.event.pull_request.merged && - github.ref == 'master' && + github.ref == 'main' && contains(github.event.pull_request.labels.*.name, 'release:publish') && startsWith(github.event.pull_request.title, '[chore] Release ')