Skip to content

Commit 84388fb

Browse files
authored
Merge pull request #25 from jupyterhub/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2 parents 5b26d5b + 0280f3b commit 84388fb

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,10 +136,13 @@ jobs:
136136
# 3. Putting the robot account's username and password in GitHub actions environment
137137
if: env.PUBLIC == 'true'
138138
run: |
139-
docker login -u "${{ secrets.QUAY_USERNAME }}" -p "${{ secrets.QUAY_PASSWORD }}" "${{ env.REGISTRY }}"
140-
if [ "${{ env.PUBLISH_DOCKERIO }}" = "true" ]; then
139+
docker login -u "${{ secrets.QUAY_USERNAME }}" -p "${{ secrets.QUAY_PASSWORD }}" "${REGISTRY}"
140+
if [ "${PUBLISH_DOCKERIO}" = "true" ]; then
141141
docker login -u "${{ secrets.DOCKERHUB_USERNAME }}" -p "${{ secrets.DOCKERHUB_TOKEN }}" docker.io
142142
fi
143+
env:
144+
PUBLISH_DOCKERIO: "true"
145+
REGISTRY: ${{ env.REGISTRY }}
143146

144147
# image: env.IMAGE
145148
#

.pre-commit-config.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ ci:
1616
repos:
1717
# https://github.com/pre-commit/mirrors-prettier is not maintained
1818
- repo: https://github.com/rbubley/mirrors-prettier
19-
rev: v3.5.3
19+
rev: v3.6.2
2020
hooks:
2121
- id: prettier
2222

2323
# autoformat and lint Python code
2424
- repo: https://github.com/astral-sh/ruff-pre-commit
25-
rev: v0.11.8
25+
rev: v0.12.7
2626
hooks:
2727
- id: ruff
2828
args: ["--select=I", "--fix", "--show-fixes"]
@@ -31,6 +31,8 @@ repos:
3131
# Static security analysis of GitHub actions https://github.com/woodruffw/zizmor
3232
# Additional config is in .github/zizmor.yml
3333
- repo: https://github.com/woodruffw/zizmor-pre-commit
34-
rev: v1.6.0
34+
rev: v1.11.0
3535
hooks:
3636
- id: zizmor
37+
args:
38+
- --fix=safe

0 commit comments

Comments
 (0)