File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Release
22
3- permissions :
4- contents : write
5- pull-requests : write
6- issues : write
7-
83on :
94 workflow_dispatch :
105
116jobs :
127 release :
138 name : Create Release
149 runs-on : ubuntu-latest
10+ permissions :
11+ contents : write
12+ pull-requests : write
13+ issues : write
1514 steps :
1615 - name : Checkout code
1716 uses : actions/checkout@v4
17+ with :
18+ persist-credentials : false
1819
1920 - name : Setup Python
2021 uses : actions/setup-python@v5
4142
4243 - name : Create Release
4344 env :
45+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4446 GIT_USER_NAME : " github-actions[bot]"
4547 GIT_AUTHOR_EMAIL : " github-actions[bot]@users.noreply.github.com"
4648 GIT_COMMITTER_EMAIL : " github-actions[bot]@users.noreply.github.com"
Original file line number Diff line number Diff line change 1+ dryRun : false
2+ debug : true
3+
4+ branches :
5+ - name : main
6+
7+ # Order matters
8+ plugins :
9+ - " @semantic-release/commit-analyzer"
10+
11+ - " @semantic-release/release-notes-generator"
12+
13+ - " @semantic-release/changelog"
14+
15+ - - "@semantic-release/exec"
16+ - prepareCommand : uv version ${nextRelease.version}
17+
18+ - - "@semantic-release/git"
19+ - message : ' chore(release): ${nextRelease.version} \n\n${nextRelease.notes}'
20+ assets :
21+ - CHANGELOG.md
22+ - pyproject.toml
23+ - uv.lock
24+
25+ - " @semantic-release/github"
You can’t perform that action at this time.
0 commit comments