We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa534f0 commit ac7480fCopy full SHA for ac7480f
.github/workflows/python-publish.yml
@@ -13,7 +13,7 @@ on:
13
types: [published]
14
15
permissions:
16
- contents: read
+ contents: write # Needed to push changes back to the repository
17
18
jobs:
19
deploy:
@@ -34,6 +34,12 @@ jobs:
34
regex: true
35
include: 'setup.py'
36
37
+ - name: Commit version bump
38
+ uses: stefanzweifel/git-auto-commit-action@v4
39
+ with:
40
+ commit_message: 'Version bump in setup.py to ${{ env.VERSION }} [skip ci]'
41
+ file_pattern: setup.py
42
+
43
- name: Set up Python
44
uses: actions/setup-python@v3
45
with:
@@ -52,3 +58,4 @@ jobs:
52
58
53
59
user: simpleanalytics
54
60
password: ${{ secrets.PYPI_API_TOKEN }}
61
0 commit comments