Skip to content

Commit

Permalink
feat: try adding back benjefferies/branch-protection-bot
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaKGoldberg committed Dec 23, 2022
1 parent 093cee6 commit 7e12306
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,17 @@ jobs:
- env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN
# - name: Temporarily disable "include administrators" branch protection
# uses: benjefferies/[email protected]
# with:
# access_token: ${{ secrets.ACCESS_TOKEN }}
# branch: ${{ github.event.repository.default_branch }}
- name: Temporarily disable "include administrators" branch protection
uses: benjefferies/[email protected]
with:
access_token: ${{ secrets.ACCESS_TOKEN }}
branch: ${{ github.event.repository.default_branch }}
- env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: pnpm release-it
# - if: always()
# name: Enable "include administrators" branch protection
# uses: benjefferies/[email protected]
# with:
# access_token: ${{ secrets.ACCESS_TOKEN }}
# branch: ${{ github.event.repository.default_branch }}
- if: always()
name: Enable "include administrators" branch protection
uses: benjefferies/[email protected]
with:
access_token: ${{ secrets.ACCESS_TOKEN }}
branch: ${{ github.event.repository.default_branch }}

0 comments on commit 7e12306

Please sign in to comment.