Skip to content

Commit ddbd99c

Browse files
authored
ci: update github actions (#1254)
1 parent 871c03c commit ddbd99c

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

.github/workflows/dev-publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,15 +124,15 @@ jobs:
124124
125125
# Uses the `docker/login-action` action to log in to the Container registry using the account and password that will publish the packages. Once published, the packages are scoped to the account defined here.
126126
- name: Log in to the Container registry
127-
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772
127+
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 #v3.4.0
128128
with:
129129
registry: ${{ env.REGISTRY }}
130130
username: ${{ github.actor }}
131131
password: ${{ secrets.GITHUB_TOKEN }}
132132
# This step uses [docker/metadata-action](https://github.com/docker/metadata-action#about) to extract tags and labels that will be applied to the specified image. The `id` "meta" allows the output of this step to be referenced in a subsequent step. The `images` value provides the base name for the tags and labels.
133133
- name: Extract metadata (tags, labels) for Docker
134134
id: meta
135-
uses: docker/metadata-action@902fa8ec7d6ecbf8d84d538b9b233a880e428804
135+
uses: docker/metadata-action@902fa8ec7d6ecbf8d84d538b9b233a880e428804 #v5.7.0
136136
with:
137137
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
138138
tags: |
@@ -143,7 +143,7 @@ jobs:
143143
# It uses the `tags` and `labels` parameters to tag and label the image with the output from the "meta" step.
144144
- name: Build and push Docker image
145145
id: push
146-
uses: docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4
146+
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 #v6.18.0
147147
with:
148148
context: ./
149149
file: ./dcr/Dockerfile

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
run: npm i
3535

3636
- name: Add additional deps
37-
run: npm i @rollup/rollup-linux-x64-gnu@4.32.1
37+
run: npm i @rollup/rollup-linux-x64-gnu@4.44.1
3838

3939
- name: Build docs
4040
run: npm run docs:build

.github/workflows/osv.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
security-events: write
3131
contents: read
3232
actions: read
33-
uses: 'google/osv-scanner-action/.github/workflows/osv-scanner-reusable.yml@6fc714450122bda9d00e4ad5d639ad6a39eedb1f' # v2.0.1
33+
uses: 'google/osv-scanner-action/.github/workflows/osv-scanner-reusable.yml@40a8940a65eab1544a6af759e43d936201a131a2' # v2.0.3
3434
with:
3535
# Example of specifying custom arguments
3636
scan-args: |-
@@ -42,7 +42,7 @@ jobs:
4242
security-events: write
4343
contents: read
4444
actions: read
45-
uses: 'google/osv-scanner-action/.github/workflows/osv-scanner-reusable-pr.yml@6fc714450122bda9d00e4ad5d639ad6a39eedb1f' # v2.0.1
45+
uses: 'google/osv-scanner-action/.github/workflows/osv-scanner-reusable-pr.yml@40a8940a65eab1544a6af759e43d936201a131a2' # v2.0.3
4646
with:
4747
# Example of specifying custom arguments
4848
scan-args: |-

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,22 +110,22 @@ jobs:
110110
run: echo ZX_VERSION=$(jq -r '.version' package.json) >> $GITHUB_ENV
111111

112112
- name: Log in to the Container registry
113-
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772
113+
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 #v3.4.0
114114
with:
115115
registry: ${{ env.REGISTRY }}
116116
username: ${{ github.actor }}
117117
password: ${{ secrets.GITHUB_TOKEN }}
118118
- name: Extract metadata (tags, labels) for Docker
119119
id: meta
120-
uses: docker/metadata-action@902fa8ec7d6ecbf8d84d538b9b233a880e428804
120+
uses: docker/metadata-action@902fa8ec7d6ecbf8d84d538b9b233a880e428804 #v5.7.0
121121
with:
122122
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
123123
tags: |
124124
type=sha
125125
type=semver,pattern={{version}},value=v${{ env.ZX_VERSION }}
126126
- name: Build and push Docker image
127127
id: push
128-
uses: docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4
128+
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 #v6.18.0
129129
with:
130130
context: ./
131131
file: ./dcr/Dockerfile

.github/workflows/zizmor.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ jobs:
2222
persist-credentials: false
2323

2424
- name: Install the latest version of uv
25-
uses: astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86 #v5.4.2
25+
uses: astral-sh/setup-uv@bd01e18f51369d5a26f1651c3cb451d3417e3bba #v6.3.1
2626
with:
2727
enable-cache: false
2828

2929
- name: Run zizmor
30-
run: uvx zizmor@1.6.0 .github/workflows -v -p --min-severity=medium
30+
run: uvx zizmor@1.11.0 .github/workflows -v -p --min-severity=medium

0 commit comments

Comments
 (0)