mirror of
https://github.com/stefanzweifel/git-auto-commit-action.git
synced 2024-12-06 02:09:04 +00:00
Fix Example using changes_detected output
This commit is contained in:
parent
240b9ad1fd
commit
0bf17c328a
@ -100,11 +100,11 @@ You can use these outputs to trigger other Actions in your Workflow run based on
|
||||
|
||||
```yaml
|
||||
- name: "Run if changes have been detected"
|
||||
if: steps.auto-commit-action.outputs.changes_detected == true
|
||||
if: steps.auto-commit-action.outputs.changes_detected == 'true'
|
||||
run: echo "Changes!"
|
||||
|
||||
- name: "Run if no changes have been detected"
|
||||
if: steps.auto-commit-action.outputs.changes_detected == false
|
||||
if: steps.auto-commit-action.outputs.changes_detected == 'false'
|
||||
run: echo "No Changes!"
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user