Skip to content

Commit d9a6bb3

Browse files
authored
chore(release): use deploy keys for relese (#3013)
main branch is protected and does not allow direct pushes. the release action needs to push. branch protection rules can be bypassed for people and apps, but not github actions. one of the workarounds is to use a ruleset in which we set a deploy key see: https://github.com/orgs/community/discussions/25305\#discussioncomment-10728028
1 parent 65a12d5 commit d9a6bb3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
uses: actions/checkout@v4
2424
with:
2525
fetch-depth: 0
26+
ssh-key: ${{ secrets.RELEASE_KEY }}
2627

2728
- name: Setup Node.js
2829
uses: actions/setup-node@v4

0 commit comments

Comments
 (0)