File tree Expand file tree Collapse file tree 2 files changed +43
-51
lines changed
Expand file tree Collapse file tree 2 files changed +43
-51
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ # This workflow will auto-version when pull-requests are merged to main.
2+ # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
3+
4+ name : Version Change Release
5+
6+ on :
7+ workflow_dispatch :
8+ push :
9+ branches :
10+ - main
11+
12+ permissions :
13+ contents : write
14+
15+ jobs :
16+ vcr :
17+ runs-on : ubuntu-latest
18+
19+ steps :
20+ - name : Git checkout
21+ uses : actions/checkout@v4
22+ with :
23+ token : ${{ secrets.AMM }}
24+ fetch-depth : 0
25+
26+ - name : Conventional Changelog Action
27+ id : changelog
28+ 29+ with :
30+ github-token : ${{ secrets.AMM }}
31+ version-file : ' VERSION.json'
32+ release-count : 0
33+ git-message : ${{ github.event.head_commit.message }}
34+
35+ - name : Create Release
36+ uses : actions/create-release@v1
37+ if : ${{ steps.changelog.outputs.skipped == 'false' }}
38+ env :
39+ GITHUB_TOKEN : ${{ secrets.AMM }}
40+ with :
41+ tag_name : ${{ steps.changelog.outputs.tag }}
42+ release_name : ${{ steps.changelog.outputs.tag }}
43+ body : ${{ steps.changelog.outputs.clean_changelog }}
You can’t perform that action at this time.
0 commit comments