Skip to content

Commit ddab4e2

Browse files
committed
docs: make outputs example more concise
- Remove unnecessary step names for cleaner, more focused example - Keep only essential conditional logic demonstration - Maintain clarity while reducing verbosity
1 parent d12a5ec commit ddab4e2

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -203,12 +203,10 @@ Has the action been triggered by path changes? \[true|false\]
203203
node_version: "20"
204204
triggers: ('frontend/')
205205
206-
- name: Check if tests were triggered
207-
if: steps.test.outputs.triggered == 'true'
206+
- if: steps.test.outputs.triggered == 'true'
208207
run: echo "✅ Tests were triggered by path changes"
209208
210-
- name: Tests not triggered
211-
if: steps.test.outputs.triggered != 'true'
209+
- if: steps.test.outputs.triggered != 'true'
212210
run: echo "ℹ️ Tests were not triggered (no matching path changes)"
213211
```
214212

0 commit comments

Comments
 (0)