Fix Example using changes_detected output

This commit is contained in:
Stefan Zweifel 2020-10-06 09:11:36 +02:00 committed by GitHub
parent 240b9ad1fd
commit 0bf17c328a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -100,11 +100,11 @@ You can use these outputs to trigger other Actions in your Workflow run based on
```yaml ```yaml
- name: "Run if changes have been detected" - 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!" run: echo "Changes!"
- name: "Run if no changes have been detected" - 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!" run: echo "No Changes!"
``` ```