File tree Expand file tree Collapse file tree 15 files changed +443
-741
lines changed Expand file tree Collapse file tree 15 files changed +443
-741
lines changed Original file line number Diff line number Diff line change 1+ name : " CodeQL Advanced"
2+
3+ on :
4+ push :
5+ branches : [ "main", "develop", "v1" ]
6+ pull_request :
7+ branches : [ "main", "develop", "v1" ]
8+ paths-ignore :
9+ - ' **/*.md'
10+ schedule :
11+ - cron : ' 25 19 * * 2'
12+
13+ jobs :
14+ analyze :
15+ name : Analyze (${{ matrix.language }})
16+ runs-on : ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
17+ permissions :
18+ # required for all workflows
19+ security-events : write
20+
21+ strategy :
22+ fail-fast : false
23+ matrix :
24+ include :
25+ - language : javascript-typescript
26+ build-mode : none
27+ steps :
28+ - name : Checkout repository
29+ uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
30+
31+ # Initializes the CodeQL tools for scanning.
32+ - name : Initialize CodeQL
33+ uses : github/codeql-action/init@662472033e021d55d94146f66f6058822b0b39fd # v3.27.0
34+ with :
35+ languages : ${{ matrix.language }}
36+ build-mode : ${{ matrix.build-mode }}
37+
38+ - name : Perform CodeQL Analysis
39+ uses : github/codeql-action/analyze@662472033e021d55d94146f66f6058822b0b39fd # v3.27.0
40+ with :
41+ category : " /language:${{matrix.language}}"
Original file line number Diff line number Diff line change 1919 working-directory : ./lambdas
2020
2121 steps :
22- - uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
22+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2323 - name : Install dependencies
2424 run : yarn install --frozen-lockfile
2525 - name : Run prettier
Original file line number Diff line number Diff line change 2525 working-directory : images/${{ matrix.image }}
2626 steps :
2727 - name : " Checkout"
28- uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
28+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2929 - name : packer init
3030 run : packer init .
3131 - name : check packer formatting
Original file line number Diff line number Diff line change @@ -14,10 +14,10 @@ jobs:
1414 contents : write
1515 actions : write
1616 steps :
17- - uses : actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
17+ - uses : actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
1818 with :
1919 node-version : 20
20- - uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
20+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2121 - name : Build dist
2222 working-directory : lambdas
2323 run : yarn install --frozen-lockfile && yarn run test && yarn dist
Original file line number Diff line number Diff line change 1313 name : Semantic Commit Message Check
1414 runs-on : ubuntu-latest
1515 steps :
16- - uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
16+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1717 - uses : amannn/action-semantic-pull-request@0723387faaf9b38adef4775cd42cfd5155ed6017 # v5.5.3
1818 name : Check PR for Semantic Commit Message
1919 env :
Original file line number Diff line number Diff line change 2323 image : hashicorp/terraform:${{ matrix.terraform }}
2424 steps :
2525 - name : " Checkout"
26- uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
26+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2727 - name : " Fake zip files" # Validate will fail if it cannot find the zip files
2828 run : |
2929 touch lambdas/functions/webhook/webhook.zip
8989 container :
9090 image : hashicorp/terraform:${{ matrix.terraform }}
9191 steps :
92- - uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
92+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
9393 - name : terraform init
9494 run : terraform init -get -backend=false -input=false
9595 - if : contains(matrix.terraform, '1.3.')
@@ -147,7 +147,7 @@ jobs:
147147 container :
148148 image : hashicorp/terraform:${{ matrix.terraform }}
149149 steps :
150- - uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
150+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
151151 - name : terraform init
152152 run : terraform init -get -backend=false -input=false
153153 - if : contains(matrix.terraform, '1.5.')
Original file line number Diff line number Diff line change 1616 runs-on : ubuntu-latest
1717 steps :
1818 - name : Checkout with GITHUB Action token
19- uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
19+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2020 with :
2121 token : ${{ secrets.GITHUB_TOKEN }}
2222
5656 needs : [docs]
5757 runs-on : ubuntu-latest
5858 steps :
59- - uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
59+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
6060 - name : Configure Git Credentials
6161 run : |
6262 git config user.name github-actions[bot]
Original file line number Diff line number Diff line change 1818 "devDependencies" : {
1919 "@trivago/prettier-plugin-sort-imports" : " ^4.3.0" ,
2020 "@types/aws-lambda" : " ^8.10.145" ,
21- "@types/jest" : " ^29.5.12 " ,
21+ "@types/jest" : " ^29.5.14 " ,
2222 "@types/node" : " ^22.5.4" ,
2323 "@typescript-eslint/eslint-plugin" : " ^8.9.0" ,
2424 "@typescript-eslint/parser" : " ^8.11.0" ,
3939 "dependencies" : {
4040 "@aws-github-runner/aws-powertools-util" : " *" ,
4141 "@aws-github-runner/aws-ssm-util" : " *" ,
42- "@aws-sdk/client-ec2" : " ^3.677 .0" ,
43- "@aws-sdk/client-ssm" : " ^3.677 .0" ,
44- "@aws-sdk/types" : " ^3.664 .0" ,
42+ "@aws-sdk/client-ec2" : " ^3.679 .0" ,
43+ "@aws-sdk/client-ssm" : " ^3.679 .0" ,
44+ "@aws-sdk/types" : " ^3.679 .0" ,
4545 "cron-parser" : " ^4.9.0" ,
4646 "typescript" : " ^5.6.3"
4747 },
Original file line number Diff line number Diff line change 1818 "devDependencies" : {
1919 "@trivago/prettier-plugin-sort-imports" : " ^4.3.0" ,
2020 "@types/aws-lambda" : " ^8.10.145" ,
21- "@types/jest" : " ^29.5.12 " ,
21+ "@types/jest" : " ^29.5.14 " ,
2222 "@types/node" : " ^22.5.4" ,
2323 "@typescript-eslint/eslint-plugin" : " ^8.9.0" ,
2424 "@typescript-eslint/parser" : " ^8.11.0" ,
4141 "@aws-github-runner/aws-powertools-util" : " *" ,
4242 "@aws-github-runner/aws-ssm-util" : " *" ,
4343 "@aws-lambda-powertools/parameters" : " ^2.9.0" ,
44- "@aws-sdk/client-ec2" : " ^3.677 .0" ,
45- "@aws-sdk/client-sqs" : " ^3.677 .0" ,
46- "@aws-sdk/types" : " ^3.664 .0" ,
44+ "@aws-sdk/client-ec2" : " ^3.679 .0" ,
45+ "@aws-sdk/client-sqs" : " ^3.679 .0" ,
46+ "@aws-sdk/types" : " ^3.679 .0" ,
4747 "@middy/core" : " ^4.7.0" ,
4848 "@octokit/auth-app" : " 6.1.2" ,
4949 "@octokit/core" : " 5.2.0" ,
Original file line number Diff line number Diff line change 1818 "devDependencies" : {
1919 "@trivago/prettier-plugin-sort-imports" : " ^4.3.0" ,
2020 "@types/aws-lambda" : " ^8.10.145" ,
21- "@types/jest" : " ^29.5.12 " ,
21+ "@types/jest" : " ^29.5.14 " ,
2222 "@types/node" : " ^22.5.4" ,
2323 "@types/request" : " ^2.48.12" ,
2424 "@typescript-eslint/eslint-plugin" : " ^8.9.0" ,
3737 },
3838 "dependencies" : {
3939 "@aws-github-runner/aws-powertools-util" : " *" ,
40- "@aws-sdk/client-s3" : " ^3.677 .0" ,
41- "@aws-sdk/lib-storage" : " ^3.677 .0" ,
42- "@aws-sdk/types" : " ^3.664 .0" ,
40+ "@aws-sdk/client-s3" : " ^3.679 .0" ,
41+ "@aws-sdk/lib-storage" : " ^3.679 .0" ,
42+ "@aws-sdk/types" : " ^3.679 .0" ,
4343 "@middy/core" : " ^4.7.0" ,
4444 "@octokit/rest" : " 20.1.1" ,
4545 "axios" : " ^1.7.7"
You can’t perform that action at this time.
0 commit comments