File tree 1 file changed +9
-30
lines changed
1 file changed +9
-30
lines changed Original file line number Diff line number Diff line change 9
9
bump-version :
10
10
if : " !startsWith(github.event.head_commit.message, 'bump:')"
11
11
runs-on : ubuntu-latest
12
- strategy :
13
- matrix :
14
- python-version : ['3.x']
12
+ name : " Bump version and create changelog with commitizen"
15
13
steps :
16
- - uses : actions/checkout@v2
17
- with :
18
- token : ' ${{ secrets.PERSONAL_ACCESS_TOKEN }}'
19
- fetch-depth : 0
20
- - name : Set up Python ${{ matrix.python-version }}
21
- uses : actions/setup-python@v1
22
- with :
23
- python-version : ${{ matrix.python-version }}
24
- - name : Install dependencies
25
- run : |
26
- python --version
27
- python -m pip install -U pip poetry
28
- - name : Configure repo
29
- run : |
30
- git config --local user.email "action@github.com"
31
- git config --local user.name "GitHub Action"
32
- git pull origin master --tags
33
- poetry install --no-dev
34
- - name : Create bump
35
- run : |
36
- poetry run cz bump --yes --changelog
37
- git tag
38
- - name : Push changes
39
- uses : Woile/github-push-action@master
40
- with :
41
- github_token : ${{ secrets.PERSONAL_ACCESS_TOKEN }}
42
- tags : " true"
14
+ - name : Check out
15
+ uses : actions/checkout@v2
16
+ with :
17
+ fetch-depth : 0
18
+ - name : Create bump and changelog
19
+ uses : commitizen-tools/commitizen-action@master
20
+ with :
21
+ github_token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments