Skip to content

Commit 7e12306

Browse files
feat: try adding back benjefferies/branch-protection-bot
1 parent 093cee6 commit 7e12306

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/workflows/release.yml

+11-11
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,17 @@ jobs:
1818
- env:
1919
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2020
run: npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN
21-
# - name: Temporarily disable "include administrators" branch protection
22-
# uses: benjefferies/[email protected]
23-
# with:
24-
# access_token: ${{ secrets.ACCESS_TOKEN }}
25-
# branch: ${{ github.event.repository.default_branch }}
21+
- name: Temporarily disable "include administrators" branch protection
22+
uses: benjefferies/[email protected]
23+
with:
24+
access_token: ${{ secrets.ACCESS_TOKEN }}
25+
branch: ${{ github.event.repository.default_branch }}
2626
- env:
2727
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2828
run: pnpm release-it
29-
# - if: always()
30-
# name: Enable "include administrators" branch protection
31-
# uses: benjefferies/[email protected]
32-
# with:
33-
# access_token: ${{ secrets.ACCESS_TOKEN }}
34-
# branch: ${{ github.event.repository.default_branch }}
29+
- if: always()
30+
name: Enable "include administrators" branch protection
31+
uses: benjefferies/[email protected]
32+
with:
33+
access_token: ${{ secrets.ACCESS_TOKEN }}
34+
branch: ${{ github.event.repository.default_branch }}

0 commit comments

Comments
 (0)