git-auto-commit-action/.github/workflows/git-auto-commit.yml
2023-01-03 08:17:32 +01:00

27 lines
552 B
YAML

name: git-auto-commit
on:
push:
branches:
- master
pull_request:
jobs:
git-auto-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use git-auto-commit-action
id: "auto-commit-action"
uses: ./
- name: "no changes detected"
if: steps.auto-commit-action.outputs.changes_detected == 'false'
run: "echo \"No changes detected\""
- name: "changes detected"
if: steps.auto-commit-action.outputs.changes_detected == 'true'
run: "echo \"Changes detected\""