mirror of
https://github.com/exo-explore/exo.git
synced 2026-04-27 01:12:30 -04:00
Overhaul CI Design
This commit is contained in:
16
.github/actions/conditional-commit/conditional-commit.yml
vendored
Normal file
16
.github/actions/conditional-commit/conditional-commit.yml
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
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 }}"
|
||||
Reference in New Issue
Block a user