Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ on:
default: true
type: boolean

permissions:
contents: write

jobs:
build-and-publish:
runs-on: ubuntu-latest
Expand All @@ -26,6 +29,7 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}

- name: Set up Python
uses: actions/setup-python@v4
Expand Down Expand Up @@ -98,6 +102,11 @@ jobs:
echo "Updated version to $NEW_VERSION in pyproject.toml and __init__.py"
- name: Configure Git
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
- name: Commit version bump
run: |
git add pyproject.toml stagehand/__init__.py
Expand Down