Skip to content

Commit cc0191c

Browse files
authored
chore: update Python dependencies and github actions (#185)
1 parent a70207c commit cc0191c

File tree

3 files changed

+149
-143
lines changed

3 files changed

+149
-143
lines changed

.github/workflows/deploy-preview.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,18 +30,18 @@ jobs:
3030
pull-requests: write
3131
steps:
3232
- name: Checkout
33-
uses: actions/checkout@v3
33+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3434
with:
3535
persist-credentials: false
3636
ref: ${{ github.event.pull_request.head.sha }}
3737

3838
- name: Set up Python
39-
uses: actions/setup-python@v4
39+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
4040
with:
4141
python-version: "3.10"
4242

4343
- name: Setup Node
44-
uses: actions/setup-node@v3
44+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
4545
with:
4646
node-version: "18"
4747

@@ -66,7 +66,7 @@ jobs:
6666
run: npx hugo --buildDrafts --buildFuture --logLevel info
6767

6868
- name: Deploy
69-
uses: amondnet/vercel-action@v25
69+
uses: amondnet/vercel-action@16e87c0a08142b0d0d33b76aeaf20823c381b9b9 # v25.2.0
7070
id: vercel-action
7171
with:
7272
vercel-version: 39.1.3
@@ -79,7 +79,7 @@ jobs:
7979
working-directory: public
8080

8181
- name: Update Deployment Status
82-
uses: bobheadxi/deployments@v1
82+
uses: bobheadxi/deployments@648679e8e4915b27893bd7dbc35cb504dc915bc8 # v1.5.0
8383
if: always()
8484
with:
8585
step: finish

.github/workflows/deploy-production.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,17 @@ jobs:
2020

2121
steps:
2222
- name: Checkout
23-
uses: actions/checkout@v3
23+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2424
with:
2525
persist-credentials: false
2626

2727
- name: Set up Python
28-
uses: actions/setup-python@v4
28+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
2929
with:
3030
python-version: "3.10"
3131

3232
- name: Setup Node
33-
uses: actions/setup-node@v3
33+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
3434
with:
3535
node-version: "18"
3636

@@ -53,7 +53,7 @@ jobs:
5353
poetry run python bin/website build
5454
5555
- name: Start Deployment
56-
uses: bobheadxi/deployments@v1
56+
uses: bobheadxi/deployments@648679e8e4915b27893bd7dbc35cb504dc915bc8 # v1.5.0
5757
id: deployment
5858
with:
5959
step: start
@@ -75,7 +75,7 @@ jobs:
7575
npm run algolia
7676
7777
- name: Deploy
78-
uses: amondnet/vercel-action@v25
78+
uses: amondnet/vercel-action@16e87c0a08142b0d0d33b76aeaf20823c381b9b9 # v25.2.0
7979
id: vercel-action
8080
with:
8181
vercel-version: 39.1.3
@@ -89,7 +89,7 @@ jobs:
8989
working-directory: public
9090

9191
- name: Update Deployment Status
92-
uses: bobheadxi/deployments@v1
92+
uses: bobheadxi/deployments@648679e8e4915b27893bd7dbc35cb504dc915bc8 # v1.5.0
9393
if: always()
9494
with:
9595
step: finish

0 commit comments

Comments
 (0)