Skip to content

Commit 645a317

Browse files
committed
Updating key:value pairs for using depth parameter
1 parent d22887b commit 645a317

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

articles/azure-app-configuration/concept-github-action.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,11 @@ jobs:
123123
```
124124

125125
## Use max depth to limit GitHub Action
126-
The default behavior for nested JSON attributes is to flatten the entire object. The JSON below produces this key-value pair: `Key: Object:Inner:InnerKey, Value: InnerValue`
126+
The default behavior for nested JSON attributes is to flatten the entire object. The JSON below defines this key-value pair:
127+
128+
| Key | Value |
129+
| --- | --- |
130+
| Object:Inner:InnerKey | InnerValue |
127131

128132
```json
129133
{ "Object":
@@ -160,6 +164,13 @@ jobs:
160164
separator: ':'
161165
depth: 2
162166
```
167+
168+
Given a depth of 2, the example above now returns the following key:value pair:
169+
170+
| Key | Value |
171+
| --- | --- |
172+
| Object:Inner | InnerKey:InnerValue |
173+
163174
## Understand Action Inputs
164175
Input parameters allow you to specify data that the action expects to use during runtime. Below is a table containing the input parameters accepted by App Configuration Sync and the expected values for each. For more information about action inputs for GitHub Actions, refer to GitHub's [documentation](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/metadata-syntax-for-github-actions#inputs)
165176

0 commit comments

Comments
 (0)