Skip to content

Commit

Permalink
fix(release): allowing release with branch protections
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Dietrich authored and jdietrichdev committed May 18, 2023
1 parent e0c970f commit 6553cc4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
with:
persist-credentials: false
- name: Setup Node.js
uses: actions/setup-node@v3
with:
Expand All @@ -26,6 +28,6 @@ jobs:
run: npm run build-docs
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.ADMIN_PAT }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
1 change: 1 addition & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
jobs:
build:
runs-on: ubuntu-latest
if: github.ref != 'refs/heads/main'

strategy:
matrix:
Expand Down

0 comments on commit 6553cc4

Please sign in to comment.