Skip to content

Commit a943ffc

Browse files
committed
fix: Use deploy key
python-semantic-release needs to write (version number, changelog...) Github actions can not be allowed to bypass branch protection rules. Deploy keys can. https://github.com/orgs/community/discussions/25305#discussioncomment-10728028
1 parent 886e8dc commit a943ffc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/semantic-release.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
- name: Checkout
2323
uses: actions/checkout@v4
2424
with:
25+
ssh-key: ${{ secrets.DEPLOY_KEY }}
2526
fetch-depth: 0
2627

2728
- name: Setup Python

0 commit comments

Comments
 (0)