Skip to content

Add .circleci/config.yml #2

Add .circleci/config.yml

Add .circleci/config.yml #2

name: Release
on:
push:
branches-ignore:
- 'main'
- 'changeset-release/**'
# Don't release canary when these paths change
# It's not necessary because we don't ship them and it creates noise
paths-ignore:
- '.changeset/**'
- 'docs/**'
- 'lib/**'
- '__tests__/**'
- 'script/**'
- 'next.config.js'
- 'now.json'
jobs:
release-canary:
name: Canary
uses: primer/.github/.github/workflows/release_canary.yml@main
with:
install: npm ci
secrets:
gh_token: ${{ secrets.GITHUB_TOKEN }}
npm_token: ${{ secrets.NPM_AUTH_TOKEN_SHARED }}