Skip to content

fix: auto-commit only from syntaxes/ #5

fix: auto-commit only from syntaxes/

fix: auto-commit only from syntaxes/ #5

Workflow file for this run

---
name: "Build"
on:
push:
branches: [ main ]
paths-ignore: [ "*.md" ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: macos-12
steps:
- uses: actions/checkout@v3
- name: Cache Vagrant boxes
uses: actions/[email protected]
with:
path: ~/.vagrant.d/boxes
key: $${{ runner.os }}-vagrant-${{ hashFiles('Vagrantfile') }}
restore-keys: |
${{ runner.os }}-vagrant-
- name: Show Vagrant version
run: vagrant --version
- name: Run vagrant up & provision
run: vagrant up --provision
env:
VER: 23.11
- name: Auto-commit changes
uses: stefanzweifel/[email protected]
with:
commit_message: automated change
branch: main
commit_options: '--no-verify --signoff'
file_patterns: 'syntaxes/*'
commit_user_name: Publishing Bot
commit_user_email: [email protected]
- name: Run if changes have been detected
if: steps.auto-commit-action.outputs.changes_detected == 'true'
run: echo "New TextMate grammar was published"