Files
b0bd951005 Merge Basic Interfaces
Co-authored-by: Alex Cheema <[email protected]>
Co-authored-by: Seth Howes <[email protected]>
Co-authored-by: Matt Beton <[email protected]>
Co-authored-by: Andrei Cravtov <[email protected]>
2025-07-09 19:04:21 +01:00

17 lines
340 B
YAML

name: Commit if changed
description: "Create a commit when the working tree is dirty"
inputs:
message:
description: "Commit message"
required: true
runs:
using: composite
steps:
- name: Commit changed files
shell: bash
run: |
git diff --quiet && exit 0
git commit -am "${{ inputs.message }}"