40
40
docs:
41
41
- 'docs/**/*'
42
42
43
+ terraform_core:
44
+ - core/**/terraform/**/*.tf
45
+
43
46
terraform_workspaces:
44
47
- templates/workspaces/**/terraform/**/*.tf
45
48
95
98
pip install -r docs/requirements.txt
96
99
mkdocs build --strict
97
100
101
+ - name : Core Tags
102
+ if : ${{ steps.filter.outputs.terraform_core == 'true' }}
103
+ uses :
github/super-linter/[email protected]
104
+ env :
105
+ VALIDATE_ALL_CODEBASE : false
106
+ DEFAULT_BRANCH : main
107
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
108
+ VALIDATE_TERRAFORM_TFLINT : true
109
+ TERRAFORM_TFLINT_CONFIG_FILE : .tflint_core.hcl
110
+ FILTER_REGEX_INCLUDE : ' ./core/.*'
111
+
98
112
- name : Workspace Tags
99
113
if : ${{ steps.filter.outputs.terraform_workspaces == 'true' }}
100
114
uses :
github/super-linter/[email protected]
@@ -104,7 +118,7 @@ jobs:
104
118
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
105
119
VALIDATE_TERRAFORM_TFLINT : true
106
120
TERRAFORM_TFLINT_CONFIG_FILE : .tflint_workspaces.hcl
107
- LINTER_REGEX_INCLUDE : ' ./templates/workspaces/.*'
121
+ FILTER_REGEX_INCLUDE : ' ./templates/workspaces/.*'
108
122
109
123
- name : Workspace Services Tags
110
124
if : ${{ steps.filter.outputs.terraform_workspace_services == 'true' }}
@@ -115,7 +129,7 @@ jobs:
115
129
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
116
130
VALIDATE_TERRAFORM_TFLINT : true
117
131
TERRAFORM_TFLINT_CONFIG_FILE : .tflint_workspace_services.hcl
118
- LINTER_REGEX_INCLUDE : ' ./templates/workspaces/.*'
132
+ FILTER_REGEX_INCLUDE : ' ./templates/workspaces/.*'
119
133
FILTER_REGEX_EXCLUDE : ' .*user_resource.*'
120
134
121
135
- name : User Resources Tags
@@ -127,7 +141,7 @@ jobs:
127
141
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
128
142
VALIDATE_TERRAFORM_TFLINT : true
129
143
TERRAFORM_TFLINT_CONFIG_FILE : .tflint_user_resources.hcl
130
- LINTER_REGEX_INCLUDE : ' ./templates/workspace_services/.*/user_resources/.*'
144
+ FILTER_REGEX_INCLUDE : ' ./templates/workspace_services/.*/user_resources/.*'
131
145
132
146
- name : Shared Services Tags
133
147
if : ${{ steps.filter.outputs.terraform_shared_services == 'true' }}
@@ -138,4 +152,4 @@ jobs:
138
152
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
139
153
VALIDATE_TERRAFORM_TFLINT : true
140
154
TERRAFORM_TFLINT_CONFIG_FILE : .tflint_shared_services.hcl
141
- LINTER_REGEX_INCLUDE : ' ./templates/shared_services/.*'
155
+ FILTER_REGEX_INCLUDE : ' ./templates/shared_services/.*'
0 commit comments