Skip to content

Commit d456bc2

Browse files
authored
chore(release): Use PAT token to bypass branch protection for release github action (#326)
* feat(release): Initial development version 0.1.0 * use PAT token to bypass branch protection for release github action
1 parent ddb7d78 commit d456bc2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,12 @@ jobs:
1212
uses: actions/checkout@v2
1313
with:
1414
fetch-depth: 0
15+
token: ${{ secrets.ADMIN_TOKEN }} # Use the new token for authentication
1516
- name: Python Semantic Release
1617
id: semantic_release
1718
uses: relekang/python-semantic-release@master
1819
with:
19-
github_token: ${{ secrets.GITHUB_TOKEN }}
20+
github_token: ${{ secrets.ADMIN_TOKEN }} # Use the new token for authentication
2021
repository_username: __token__
2122
repository_password: ${{ secrets.PYPI_TOKEN }}
2223
git_committer_name: "OpenAdapt Bot"

0 commit comments

Comments
 (0)