You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/pre-commit.yml
+58-12
Original file line number
Diff line number
Diff line change
@@ -4,11 +4,10 @@ on:
4
4
pull_request:
5
5
push:
6
6
branches:
7
-
- main
8
7
- develop
8
+
- main
9
9
10
10
jobs:
11
-
# Min Terraform version(s)
12
11
getDirectories:
13
12
name: Get root directories
14
13
runs-on: ubuntu-latest
@@ -25,13 +24,13 @@ jobs:
25
24
- name: Build matrix
26
25
id: matrix
27
26
run: |
28
-
DIRS=$(python -c "import json; import glob; print(json.dumps([x.replace('/versions.tf', '') for x in glob.glob('./**/versions.tf', recursive=True)]))")
27
+
DIRS=$(python -c "import json; import glob; print(json.dumps([x.replace('/providers.tf', '') for x in glob.glob('./**/providers.tf', recursive=True)]))")
0 commit comments