Skip to content

Commit 50930ff

Browse files
authored
Specify return value for undefined properties in workflow contexts (github#17089)
1 parent 30f3a74 commit 50930ff

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

content/actions/learn-github-actions/contexts.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ In order to use property dereference syntax, the property name must:
5757
- start with `a-Z` or `_`.
5858
- be followed by `a-Z` `0-9` `-` or `_`.
5959

60+
If you attempt to dereference a non-existent property, it will evaluate to an empty string.
61+
6062
### Determining when to use contexts
6163

6264
{% data reusables.actions.using-context-or-environment-variables %}

0 commit comments

Comments
 (0)