File tree Expand file tree Collapse file tree 2 files changed +21
-8
lines changed Expand file tree Collapse file tree 2 files changed +21
-8
lines changed Original file line number Diff line number Diff line change 44 branches : [main]
55permissions :
66 contents : write
7+ issues : write
78 pull-requests : write
8- id-token : write
99jobs :
1010 release :
1111 runs-on : ubuntu-latest
1212 steps :
1313 - uses : actions/checkout@v4
1414 with : { fetch-depth: 0 }
15- - uses : actions/setup-python@v5
16- with : { python-version: '3.12' }
17- - run : python -m pip install -U pip
18- - run : python -m pip install python-semantic-release==9.* build
19- - name : Run semantic-release (no PyPI upload)
15+ - uses : actions/setup-node@v4
16+ with : { node-version: '20' }
17+ - uses : cycjimmy/semantic-release-action@v4
18+ with :
19+ extra_plugins : |
20+ @semantic-release/commit-analyzer
21+ @semantic-release/release-notes-generator
22+ @semantic-release/changelog
23+ @semantic-release/github
2024 env :
21- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
22- run : semantic-release version && semantic-release publish
25+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1+ {
2+ "branches" : [" main" ],
3+ "tagFormat" : " v${version}" ,
4+ "plugins" : [
5+ " @semantic-release/commit-analyzer" ,
6+ " @semantic-release/release-notes-generator" ,
7+ [" @semantic-release/changelog" , { "changelogFile" : " CHANGELOG.md" }],
8+ " @semantic-release/github"
9+ ]
10+ }
You can’t perform that action at this time.
0 commit comments