This repository was archived by the owner on Apr 12, 2022. It is now read-only.
Commit 0e89559 1 parent 0d8a653 commit 0e89559 Copy full SHA for 0e89559
File tree 6 files changed +98
-0
lines changed
6 files changed +98
-0
lines changed Original file line number Diff line number Diff line change
1
+ * @ tetienne
Original file line number Diff line number Diff line change
1
+ feature : ['feature/*', 'feat/*']
2
+ enhancement : enhancement/*
3
+ bug : fix/*
4
+ breaking : breaking/*
5
+ documentation : doc/*
6
+ ci : ci/*
7
+ testing : ['test/*', 'testing/*']
Original file line number Diff line number Diff line change
1
+ name-template : ' v$NEXT_PATCH_VERSION'
2
+ tag-template : ' v$NEXT_PATCH_VERSION'
3
+ exclude-labels :
4
+ - ' Meta: Exclude From Changelog'
5
+ - ' auto-changelog'
6
+ categories :
7
+ - title : ' ⚠ Breaking changes'
8
+ label : ' breaking'
9
+ - title : ' 🚀 Features'
10
+ label : ' feature'
11
+ - title : ' ✨ Enhancement'
12
+ label : ' enhancement'
13
+ - title : ' 📘 Documentation'
14
+ label : ' documentation'
15
+ - title : ' 🐛 Bug Fixes'
16
+ label : ' bug'
17
+ - title : ' 👷 Continuous Integration'
18
+ label : ' ci'
19
+ - title : ' 🚨 Testing'
20
+ label : ' testing'
21
+ template : |
22
+ ## What's changed
23
+ $CHANGES
24
+ ## Contributors to this release
25
+ $CONTRIBUTORS
Original file line number Diff line number Diff line change
1
+ name : PR Labeler
2
+ on :
3
+ pull_request :
4
+ types : [opened]
5
+
6
+ jobs :
7
+ pr-labeler :
8
+ runs-on : ubuntu-latest
9
+ steps :
10
+ - uses : TimonVS/pr-labeler-action@v3
11
+ env :
12
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change
1
+ name : Release Drafter
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+
8
+ jobs :
9
+ update_release_draft :
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - name : Update release draft
13
+ uses : release-drafter/release-drafter@v5
14
+ env :
15
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change
1
+ # This workflow will upload a Python Package using Poetry when a release is published
2
+
3
+ name : Publish Python Package (PyPi)
4
+
5
+ on :
6
+ release :
7
+ types : [ published ]
8
+
9
+ jobs :
10
+ deploy :
11
+ runs-on : ubuntu-latest
12
+
13
+ steps :
14
+ - uses : actions/checkout@v2
15
+ - name : Set up Python
16
+ uses : actions/setup-python@v2
17
+ with :
18
+ python-version : ' 3.x'
19
+ - name : Set up Poetry
20
+ uses : Gr1N/setup-poetry@v4
21
+ - name : Bump Poetry version
22
+ run : |
23
+ tag=${{ github.event.release.tag_name }}
24
+ version_number=${tag#?}
25
+ poetry version $version_number
26
+ - name : Commit changes
27
+ uses : EndBug/add-and-commit@v4
28
+ with :
29
+ message : " Bump version to ${{ github.event.release.tag_name }}"
30
+ add : " pyproject.toml"
31
+ ref : " main"
32
+ env :
33
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
34
+ - name : Build and publish to PyPi
35
+ env :
36
+ POETRY_PYPI_TOKEN_PYPI : ${{ secrets.PYPI_API_TOKEN }}
37
+ run : |
38
+ poetry publish --build
You can’t perform that action at this time.
0 commit comments