generated from cds-snc/project-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a GitHub workflow that lints JSON changes on PRs and pushes to main. Also moves the Step Function definitions into the AWS module to remove duplication and hardcodes the `retry_interval_seconds` template parameter so the JSON validates.
- Loading branch information
Showing
10 changed files
with
31 additions
and
370 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: JSON lint | ||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
paths: | ||
- "**/*.json" | ||
- ".github/workflows/json_lint.yml" | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- "**/*.json" | ||
- ".github/workflows/json_lint.yml" | ||
|
||
jobs: | ||
json-lint: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3.0.2 | ||
|
||
- name: Lint JSON | ||
run: find . -name "*.json" -exec cat {} \; | jq . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
107 changes: 0 additions & 107 deletions
107
terragrunt/env/staging/scan_queue/state-machines/scan-queue-lock-cleanup.json
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.