Skip to content

Merge branch 'develop' of https://github.com/drengskapur/colab2pdf in… #2

Merge branch 'develop' of https://github.com/drengskapur/colab2pdf in…

Merge branch 'develop' of https://github.com/drengskapur/colab2pdf in… #2

Workflow file for this run

name: Bump Dev Version
"on":
pull_request:
types: [closed]
branches:
- develop
push:
branches:
- develop
jobs:
bump-dev-version:
runs-on: ubuntu-latest
if: github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == true || github.event_name == 'push'
steps:
- name: Harden Runner
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: >
files.pythonhosted.org:443
github.com:443
pypi.org:443
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.1
with:
fetch-depth: "0"
- name: Install Hatch
run: pip install hatch
- name: Bump version
run: hatch version dev
- name: Commit and push version bump
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email '41898282+github-actions[bot]@users.noreply.github.com'
git add .
git commit -m "Bump version"
git push