From 38b60cc6d924177291a32a056634704cdc6d1058 Mon Sep 17 00:00:00 2001 From: Francois Best Date: Fri, 26 Nov 2021 01:41:01 +0100 Subject: [PATCH] chore: Rename `master` to `main` in semantic-release --- .github/workflows/cd.yml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 1e2290f..19bbe83 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -32,9 +32,25 @@ jobs: # Continuous Delivery Pipeline -- - - uses: docker://ghcr.io/codfish/semantic-release-action@sha256:16ab6c16b1bff6bebdbcc6cfc07dfafff49d23c6818490500b8edb3babfff29e + - uses: docker://ghcr.io/codfish/semantic-release-action@sha256:43a9e5ce88fc0460c22f3f3c45e39ac99e1cefff2ffd76c6e8c34306c8ccec91 name: Semantic Release id: semantic + with: + branches: | + [ + '+([0-9])?(.{+([0-9]),x}).x', + 'main', + 'next', + 'next-major', + { + name: 'beta', + prerelease: true + }, + { + name: 'alpha', + prerelease: true + } + ] env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }}