From 64cbc83faf28b3c3b72e8b3b0654adee3fa9d0aa Mon Sep 17 00:00:00 2001 From: Samuel Attard Date: Tue, 18 Oct 2022 16:08:05 -0700 Subject: [PATCH] build: configure semantic release for main branch --- .circleci/config.yml | 2 ++ .releaserc.json | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index ed3ddd4..dd0a224 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -30,6 +30,7 @@ jobs: - checkout - *step-restore-cache - run: yarn --frozen-lockfile + - run: npx @continuous-auth/circleci-oidc-github-auth@1.0.5 - run: npx semantic-release workflows: version: 2 @@ -43,4 +44,5 @@ workflows: branches: only: - main + context: cfa-release diff --git a/.releaserc.json b/.releaserc.json index c9ad983..043a630 100644 --- a/.releaserc.json +++ b/.releaserc.json @@ -4,6 +4,7 @@ "@semantic-release/release-notes-generator", "@continuous-auth/semantic-release-npm", "@semantic-release/github" - ] + ], + "branches": [ "main" ] }