Skip to content

Commit bed319c

Browse files
committed
build: To push back changelog, we need a separate user.
We can't currently bypass branch protection rules for the default github app user in github actions. (https://github.com/orgs/community/discussions/13836) So we need to use the semantic release github user which has been added to the list of users that can bypass branch protection.
1 parent a8fa187 commit bed319c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
# Adjust tag with desired version if applicable.
4141
uses: python-semantic-release/[email protected]
4242
with:
43-
github_token: ${{ secrets.GITHUB_TOKEN }}
43+
github_token: ${{ secrets.OPENEDX_SEMANTIC_RELEASE_GITHUB_TOKEN }}
4444
git_committer_name: "github-actions"
4545
git_committer_email: "[email protected]"
4646
directory: './backend'
@@ -49,7 +49,7 @@ jobs:
4949
uses: python-semantic-release/[email protected]
5050
if: steps.release.outputs.released == 'true'
5151
with:
52-
github_token: ${{ secrets.GITHUB_TOKEN }}
52+
github_token: ${{ secrets.OPENEDX_SEMANTIC_RELEASE_GITHUB_TOKEN }}
5353
tag: ${{ steps.release.outputs.tag }}
5454
directory: './backend'
5555

0 commit comments

Comments
 (0)