BOSL2/.github/workflows/pr_merge.yml
2023-11-28 22:20:44 -08:00

27 lines
537 B
YAML

name: VersionBump
on:
pull_request:
types: [closed]
jobs:
VersionBumpJob:
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: Bump Version
run: ./scripts/increment_version.sh
- name: Checkin
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Version Bump
file_pattern: version.scad