Skip to content

Commit 8727d86

Browse files
authored
Merge pull request #75 from ConductorOne/lauren/config-schema-sort-fields
Sort fields when generating config schema
2 parents 0f29d6a + d05d9b7 commit 8727d86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/output_config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Run and save output
2828
# Sort the fields array by name to ensure consistent ordering
2929
run: |
30-
./connector config | jq > config_schema.json
30+
./connector config | jq '.fields |= sort_by(.name)' > config_schema.json
3131
3232
- name: Commit changes
3333
uses: EndBug/add-and-commit@v9

0 commit comments

Comments
 (0)