mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-01-01 09:49:45 +00:00
35 lines
672 B
YAML
35 lines
672 B
YAML
name: Checks
|
|
on:
|
|
pull_request:
|
|
types:
|
|
- closed
|
|
|
|
jobs:
|
|
VersionBump:
|
|
if: github.event.pull_request.merged == true
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: write
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Apt Update
|
|
run: sudo apt update
|
|
|
|
- name: Bump Version
|
|
id: commit
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
|
|
run: |
|
|
cd $GITHUB_WORKSPACE
|
|
./scripts/increment_version.sh
|
|
|
|
- name: Push changes
|
|
uses: stefanzweifel/git-auto-commit-action@v5
|
|
with:
|
|
commit_user_email: github+actions@gmail.com
|
|
commit_message: Version Bump
|
|
|
|
|
|
|