File tree 4 files changed +14
-8
lines changed
4 files changed +14
-8
lines changed Original file line number Diff line number Diff line change @@ -21,21 +21,20 @@ jobs:
21
21
strategy :
22
22
fail-fast : false
23
23
matrix :
24
- include :
25
- - language : javascript-typescript
26
- build-mode : none
24
+ language : ['javascript-typescript', 'actions']
25
+
27
26
steps :
28
27
- name : Checkout repository
29
28
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
30
29
31
30
# Initializes the CodeQL tools for scanning.
32
31
- name : Initialize CodeQL
33
- uses : github/codeql-action/init@f6091c0113d1dcf9b98e269ee48e8a7e51b7bdd4 # v3.28.5
32
+ uses : github/codeql-action/init@dd746615b3b9d728a6a37ca2045b68ca76d4841a # v3.28.8
34
33
with :
35
34
languages : ${{ matrix.language }}
36
- build-mode : ${{ matrix.build-mode }}
35
+ build-mode : none
37
36
38
37
- name : Perform CodeQL Analysis
39
- uses : github/codeql-action/analyze@f6091c0113d1dcf9b98e269ee48e8a7e51b7bdd4 # v3.28.5
38
+ uses : github/codeql-action/analyze@dd746615b3b9d728a6a37ca2045b68ca76d4841a # v3.28.8
40
39
with :
41
40
category : " /language:${{matrix.language}}"
Original file line number Diff line number Diff line change 8
8
- ' lambdas/**'
9
9
- ' .github/workflows/lambda.yml'
10
10
11
+ permissions :
12
+ contents : read
13
+
11
14
jobs :
12
15
build :
13
16
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 8
8
- " images/**"
9
9
- " .github/workflows/packer-build.yml"
10
10
- " module/runners/templates/**"
11
+ permissions :
12
+ contents : read
13
+
11
14
env :
12
15
AWS_REGION : eu-west-1
13
16
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
17
+
14
18
jobs :
15
19
verify_packer :
16
20
name : Verify packer
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ jobs:
113
113
key : tflint-${{ hashFiles('.tflint.hcl') }}
114
114
- if : contains(matrix.terraform, '1.3.')
115
115
name : Setup TFLint
116
- uses : terraform-linters/setup-tflint@v4
116
+ uses : terraform-linters/setup-tflint@8093687ecc9dcbfa88d07c103ad4176739a7287e # v4.1.0
117
117
with :
118
118
github_token : ${{ secrets.GITHUB_TOKEN }}
119
119
- if : contains(matrix.terraform, '1.3.')
@@ -168,7 +168,7 @@ jobs:
168
168
key : tflint-${{ hashFiles('.tflint.hcl') }}
169
169
- if : contains(matrix.terraform, '1.5.')
170
170
name : Setup TFLint
171
- uses : terraform-linters/setup-tflint@v4
171
+ uses : terraform-linters/setup-tflint@8093687ecc9dcbfa88d07c103ad4176739a7287e # v4.1.0
172
172
with :
173
173
github_token : ${{ secrets.GITHUB_TOKEN }}
174
174
- if : contains(matrix.terraform, '1.5.')
You can’t perform that action at this time.
0 commit comments