We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2481ee2 commit c9ecc1bCopy full SHA for c9ecc1b
.github/workflows/publish.yml
@@ -18,6 +18,9 @@ on:
18
default: true
19
type: boolean
20
21
+permissions:
22
+ contents: write
23
+
24
jobs:
25
build-and-publish:
26
runs-on: ubuntu-latest
@@ -26,6 +29,7 @@ jobs:
29
uses: actions/checkout@v4
27
30
with:
28
31
fetch-depth: 0
32
+ token: ${{ secrets.GITHUB_TOKEN }}
33
34
- name: Set up Python
35
uses: actions/setup-python@v4
@@ -98,6 +102,11 @@ jobs:
98
102
99
103
echo "Updated version to $NEW_VERSION in pyproject.toml and __init__.py"
100
104
105
+ - name: Configure Git
106
+ run: |
107
+ git config --local user.email "[email protected]"
108
+ git config --local user.name "GitHub Action"
109
101
110
- name: Commit version bump
111
run: |
112
git add pyproject.toml stagehand/__init__.py
0 commit comments