mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-01-01 09:49:45 +00:00
27 lines
537 B
YAML
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
|
|
|