mirror of
https://github.com/stefanzweifel/git-auto-commit-action.git
synced 2024-12-06 02:09:04 +00:00
021a6363fa
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
27 lines
548 B
YAML
27 lines
548 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\""
|