Skip to content

Commit 2ad4999

Browse files
committed
fix: re-org checks
1 parent 385c3c6 commit 2ad4999

File tree

3 files changed

+61
-22
lines changed

3 files changed

+61
-22
lines changed

.github/workflows/checks.yaml

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -9,25 +9,3 @@ name: checks
99
jobs:
1010
conventional-commits:
1111
uses: broadinstitute/shared-workflows/.github/workflows/[email protected]
12-
terraform-docs:
13-
uses: broadinstitute/shared-workflows/.github/workflows/[email protected]
14-
with:
15-
working_directory: "./deployment/prod/"
16-
linting-dev:
17-
uses: broadinstitute/shared-workflows/.github/workflows/[email protected]
18-
with:
19-
working_directory: "./deployment/dev/"
20-
validation-dev:
21-
uses: broadinstitute/shared-workflows/.github/workflows/terraform-validate.yaml@hf_use_tfenv
22-
with:
23-
working_directory: "./deployment/dev/"
24-
# NOTE: using tfsec because trivy tries to scan remote terraform modules and trivy-ignores
25-
# at root level do not work for remote terraform modules
26-
static_analysis-dev:
27-
uses: broadinstitute/shared-workflows/.github/workflows/[email protected]
28-
secrets:
29-
wf_github_token: ${{ secrets.github_token }}
30-
with:
31-
working_directory: "./deployment/dev/"
32-
run_tfsec: true
33-
run_trivy: false

.github/workflows/dev-checks.yaml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
name: dev-checks
3+
4+
"on":
5+
pull_request:
6+
branches:
7+
- main
8+
paths:
9+
- "deployment/dev/**"
10+
11+
defaults:
12+
run:
13+
working_directory: "./deployment/dev/"
14+
15+
16+
jobs:
17+
conventional-commits:
18+
uses: broadinstitute/shared-workflows/.github/workflows/[email protected]
19+
linting:
20+
uses: broadinstitute/shared-workflows/.github/workflows/[email protected]
21+
validation:
22+
uses: broadinstitute/shared-workflows/.github/workflows/terraform-validate.yaml@hf_use_tfenv
23+
# NOTE: using tfsec because trivy tries to scan remote terraform modules and trivy-ignores
24+
# at root level do not work for remote terraform modules
25+
static_analysis:
26+
uses: broadinstitute/shared-workflows/.github/workflows/[email protected]
27+
secrets:
28+
wf_github_token: ${{ secrets.github_token }}
29+
with:
30+
run_tfsec: true
31+
run_trivy: false

.github/workflows/prod-checks.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
name: prod-checks
3+
4+
"on":
5+
pull_request:
6+
branches:
7+
- main
8+
paths:
9+
- "deployment/prod/**"
10+
11+
defaults:
12+
run:
13+
working_directory: "./deployment/prod/"
14+
15+
jobs:
16+
terraform-docs:
17+
uses: broadinstitute/shared-workflows/.github/workflows/[email protected]
18+
linting:
19+
uses: broadinstitute/shared-workflows/.github/workflows/[email protected]
20+
validation:
21+
uses: broadinstitute/shared-workflows/.github/workflows/terraform-validate.yaml@hf_use_tfenv
22+
# NOTE: using tfsec because trivy tries to scan remote terraform modules and trivy-ignores
23+
# at root level do not work for remote terraform modules
24+
static_analysis:
25+
uses: broadinstitute/shared-workflows/.github/workflows/[email protected]
26+
secrets:
27+
wf_github_token: ${{ secrets.github_token }}
28+
with:
29+
run_tfsec: true
30+
run_trivy: false

0 commit comments

Comments
 (0)