Skip to content

Branch

Branch #2

Workflow file for this run

name: Push to main
on:
pull_request:
branches:
- "main"
jobs:
version-bump:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install hatch
- name: Push bumped version to main
run: |
cd vizro-core
hatch version patch,dev
git config --global user.email "35569332+l0uden@users.noreply.github.com"
git config --global user.name "Vizro Team"
git add -A
git commit -m "version bump after vizro"
git push -f -u origin main