Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9e9364c

Browse files
chore(deps): update pre-commit hooks (minor) (#48)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Matthias Schoettle <[email protected]>
1 parent 983fd40 commit 9e9364c

3 files changed

Lines changed: 9 additions & 6 deletions

File tree

.github/actions/docker-build/action.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ runs:
4646
- name: Validate build configuration
4747
uses: docker/[email protected]
4848
with:
49-
context: ${{ inputs.context }}
49+
context: ${{ inputs.context }} # zizmor: ignore[template-injection]
5050
call: check
5151
- name: Extract metadata (tags, labels) for Docker
5252
id: meta
@@ -72,7 +72,7 @@ runs:
7272
id: push
7373
uses: docker/[email protected]
7474
with:
75-
context: ${{ inputs.context }}
75+
context: ${{ inputs.context }} # zizmor: ignore[template-injection]
7676
# load image into docker to test it in the next step
7777
load: true
7878
# only push to the registry when it is not a PR (i.e., main branch)

.github/workflows/docker-build.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ permissions:
2222
env:
2323
REGISTRY: ghcr.io
2424
IMAGE_NAME: ${{ github.repository }}
25+
CONTEXT: ${{ inputs.context }}
2526

2627
jobs:
2728
build-image:
@@ -44,7 +45,7 @@ jobs:
4445
- name: Validate build configuration
4546
uses: docker/[email protected]
4647
with:
47-
context: ${{ inputs.context }}
48+
context: ${{ env.CONTEXT }} # zizmor: ignore[template-injection]
4849
call: check
4950
- name: Extract metadata (tags, labels) for Docker
5051
id: meta
@@ -70,7 +71,7 @@ jobs:
7071
id: push
7172
uses: docker/[email protected]
7273
with:
73-
context: ${{ inputs.context }}
74+
context: ${{ env.CONTEXT }} # zizmor: ignore[template-injection]
7475
# load image into docker to test it in the next step
7576
load: true
7677
# only push to the registry when it is not a PR (i.e., main branch)

.pre-commit-config.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@ repos:
3636
- id: reuse-lint-file
3737

3838
- repo: https://github.com/crate-ci/typos
39-
rev: v1.32.0
39+
rev: v1.34.0
4040
hooks:
4141
- id: typos
4242

4343
# zizmor detects security vulnerabilities in GitHub Actions workflows.
4444
- repo: https://github.com/woodruffw/zizmor-pre-commit
45-
rev: v1.8.0
45+
rev: v1.11.0
4646
hooks:
4747
- id: zizmor
4848

@@ -51,6 +51,8 @@ repos:
5151
hooks:
5252
- id: check-github-workflows
5353
args: ["--verbose"]
54+
- id: check-github-actions
55+
args: ["--verbose"]
5456
- id: check-renovate
5557
args: ["--verbose"]
5658
additional_dependencies: ['json5']

0 commit comments

Comments
 (0)