Skip to content

Commit b5a9410

Browse files
committed
chore: lock and update dependencies, clean-up
1 parent 9d303dd commit b5a9410

8 files changed

+14
-40
lines changed

.github/workflows/auto-approve-dependabot.yml

-17
This file was deleted.

.github/workflows/lambda.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
working-directory: ./lambdas
2020

2121
steps:
22-
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v3.2.0
22+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
2323
- name: Install dependencies
2424
run: yarn install --frozen-lockfile
2525
- name: Run prettier
@@ -32,7 +32,7 @@ jobs:
3232
- name: Build distribution
3333
run: yarn build
3434
- name: Upload coverage report
35-
uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v31.2
35+
uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6
3636
if: ${{ failure() }}
3737
with:
3838
name: coverage-reports

.github/workflows/packer-build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
working-directory: images/${{ matrix.image }}
2626
steps:
2727
- name: "Checkout"
28-
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # ratchet:actions/checkout@v4
28+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
2929
- name: packer init
3030
run: packer init .
3131
- name: check packer formatting

.github/workflows/release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
1818
with:
1919
node-version: 20
20-
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # ratchet:actions/checkout@v4
20+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
2121
- name: Build dist
2222
working-directory: lambdas
2323
run: yarn install --frozen-lockfile && yarn run test && yarn dist
@@ -34,7 +34,7 @@ jobs:
3434
run: echo "name=${GITHUB_REF#refs/heads/}" >> $GITHUB_OUTPUT
3535
- name: Release
3636
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
3838
with:
3939
default-branch: ${{ steps.branch.outputs.name }}
4040
release-type: terraform-module

.github/workflows/semantic-check.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ jobs:
1313
name: Semantic Commit Message Check
1414
runs-on: ubuntu-latest
1515
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
1818
name: Check PR for Semantic Commit Message
1919
env:
2020
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/stale.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
stale:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # ratchet:actions/stale@v7
13+
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0
1414
with:
1515
stale-issue-message: >
1616
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.

.github/workflows/terraform.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
image: hashicorp/terraform:${{ matrix.terraform }}
2424
steps:
2525
- name: "Checkout"
26-
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
26+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
2727
- name: "Fake zip files" # Validate will fail if it cannot find the zip files
2828
run: |
2929
touch lambdas/functions/webhook/webhook.zip
@@ -89,7 +89,7 @@ jobs:
8989
container:
9090
image: hashicorp/terraform:${{ matrix.terraform }}
9191
steps:
92-
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
92+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
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@692973e3d937129bcbf40652eb9f2f61becf3332
150+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
151151
- name: terraform init
152152
run: terraform init -get -backend=false -input=false
153153
- if: contains(matrix.terraform, '1.5.')

.github/workflows/update-docs.yml

+3-12
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,13 @@ permissions:
1212

1313
jobs:
1414
docs:
15-
# update docs after merge back to develop
1615
name: Auto update terraform docs
1716
runs-on: ubuntu-latest
1817
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-
2718
- name: Checkout with GITHUB Action token
2819
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # ratchet:actions/checkout@v4
2920
with:
30-
token: ${{ steps.app.outputs.token }}
21+
token: ${{ secrets.GITHUB_TOKEN }}
3122

3223
# use an app to ensure CI is triggered
3324
- name: Generate TF docs
@@ -37,8 +28,8 @@ jobs:
3728
find-dir: .
3829
git-commit-message: "docs: auto update terraform docs"
3930
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"
4233

4334
- name: Generate TF docs (forks)
4435
if: github.repository_owner != 'philips-labs'

0 commit comments

Comments
 (0)