Skip to content

Commit 9c95107

Browse files
committed
fix(ci): correct semantic-release config format
1 parent 57bcd63 commit 9c95107

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ jobs:
3333
uses: python-semantic-release/python-semantic-release@v9.15.2
3434
with:
3535
github_token: ${{ secrets.GITHUB_TOKEN }}
36+
env:
37+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3638

3739
docker:
3840
needs: release

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ major_on_zero = false
132132
match = "main"
133133
prerelease = false
134134

135-
[tool.semantic_release.commit_author]
136-
env = "GIT_COMMIT_AUTHOR"
137-
default = "github-actions <actions@github.com>"
135+
[tool.semantic_release.remote]
136+
type = "github"
137+
token = { env = "GH_TOKEN" }
138138

0 commit comments

Comments
 (0)