File tree 8 files changed +14
-40
lines changed
8 files changed +14
-40
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 19
19
working-directory : ./lambdas
20
20
21
21
steps :
22
- - uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v3.2.0
22
+ - uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
23
23
- name : Install dependencies
24
24
run : yarn install --frozen-lockfile
25
25
- name : Run prettier
32
32
- name : Build distribution
33
33
run : yarn build
34
34
- name : Upload coverage report
35
- uses : actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v31.2
35
+ uses : actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6
36
36
if : ${{ failure() }}
37
37
with :
38
38
name : coverage-reports
Original file line number Diff line number Diff line change 25
25
working-directory : images/${{ matrix.image }}
26
26
steps :
27
27
- name : " Checkout"
28
- uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # ratchet:actions/checkout@v4
28
+ uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
29
29
- name : packer init
30
30
run : packer init .
31
31
- name : check packer formatting
Original file line number Diff line number Diff line change 17
17
- uses : actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
18
18
with :
19
19
node-version : 20
20
- - uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # ratchet:actions/checkout@v4
20
+ - uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
21
21
- name : Build dist
22
22
working-directory : lambdas
23
23
run : yarn install --frozen-lockfile && yarn run test && yarn dist
34
34
run : echo "name=${GITHUB_REF#refs/heads/}" >> $GITHUB_OUTPUT
35
35
- name : Release
36
36
id : release
37
- uses : google-github-actions/release-please-action@e4dc86ba9405554aeba3c6bb2d169500e7d3b4ee # ratchet:google-github-actions/release-please-action@v3
37
+ uses : google-github-actions/release-please-action@e4dc86ba9405554aeba3c6bb2d169500e7d3b4ee # v4.1.1
38
38
with :
39
39
default-branch : ${{ steps.branch.outputs.name }}
40
40
release-type : terraform-module
Original file line number Diff line number Diff line change 13
13
name : Semantic Commit Message Check
14
14
runs-on : ubuntu-latest
15
15
steps :
16
- - uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # ratchet:actions/checkout@v4
17
- - uses : amannn/action-semantic-pull-request@0723387faaf9b38adef4775cd42cfd5155ed6017 # ratchet:amannn/action-semantic-pull-request@v5
16
+ - uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
17
+ - uses : amannn/action-semantic-pull-request@0723387faaf9b38adef4775cd42cfd5155ed6017 # v5.5.3
18
18
name : Check PR for Semantic Commit Message
19
19
env :
20
20
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 10
10
stale :
11
11
runs-on : ubuntu-latest
12
12
steps :
13
- - uses : actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # ratchet:actions/stale@v7
13
+ - uses : actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0
14
14
with :
15
15
stale-issue-message : >
16
16
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed if no further activity occurs. Thank you for your contributions.
Original file line number Diff line number Diff line change 23
23
image : hashicorp/terraform:${{ matrix.terraform }}
24
24
steps :
25
25
- name : " Checkout"
26
- uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
26
+ uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
27
27
- name : " Fake zip files" # Validate will fail if it cannot find the zip files
28
28
run : |
29
29
touch lambdas/functions/webhook/webhook.zip
89
89
container :
90
90
image : hashicorp/terraform:${{ matrix.terraform }}
91
91
steps :
92
- - uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
92
+ - uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
93
93
- name : terraform init
94
94
run : terraform init -get -backend=false -input=false
95
95
- if : contains(matrix.terraform, '1.3.')
@@ -147,7 +147,7 @@ jobs:
147
147
container :
148
148
image : hashicorp/terraform:${{ matrix.terraform }}
149
149
steps :
150
- - uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
150
+ - uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
151
151
- name : terraform init
152
152
run : terraform init -get -backend=false -input=false
153
153
- if : contains(matrix.terraform, '1.5.')
Original file line number Diff line number Diff line change @@ -12,22 +12,13 @@ permissions:
12
12
13
13
jobs :
14
14
docs :
15
- # update docs after merge back to develop
16
15
name : Auto update terraform docs
17
16
runs-on : ubuntu-latest
18
17
steps :
19
- - uses : philips-software/app-token-action@9f5d57062c9f2beaffafaa9a34f66f824ead63a9 # v2.0.0
20
- id : app
21
- with :
22
- app_id : ${{ vars.FOREST_PR_BOT_APP_ID }}
23
- app_base64_private_key : ${{ secrets.FOREST_PR_BOT_APP_KEY_BASE64 }}
24
- auth_type : installation
25
- org : philips-labs
26
-
27
18
- name : Checkout with GITHUB Action token
28
19
uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # ratchet:actions/checkout@v4
29
20
with :
30
- token : ${{ steps.app.outputs.token }}
21
+ token : ${{ secrets.GITHUB_TOKEN }}
31
22
32
23
# use an app to ensure CI is triggered
33
24
- name : Generate TF docs
37
28
find-dir : .
38
29
git-commit-message : " docs: auto update terraform docs"
39
30
git-push : ${{ github.ref != 'refs/heads/main' || github.repository_owner != 'philips-labs' }}
40
- git-push-user-name : forest -pr|bot
41
- git-push-user-email : " forest -pr[bot]@users.noreply.github.com"
31
+ git-push-user-name : philips-labs -pr|bot
32
+ git-push-user-email : " philips-labs -pr[bot]@users.noreply.github.com"
42
33
43
34
- name : Generate TF docs (forks)
44
35
if : github.repository_owner != 'philips-labs'
You can’t perform that action at this time.
0 commit comments