Skip to content

Commit 2c045e5

Browse files
authored
Merge pull request #22 from manics/pr21
Disable some zizmor rules, increase build timeout
2 parents a03b706 + 818ac66 commit 2c045e5

File tree

4 files changed

+16
-4
lines changed

4 files changed

+16
-4
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ jobs:
8888
8989
publish-docker:
9090
runs-on: ubuntu-24.04
91-
timeout-minutes: 30
91+
timeout-minutes: 45
9292
needs:
9393
- tag
9494

.github/workflows/watch-dependencies.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868

6969
# ref: https://github.com/peter-evans/create-pull-request
7070
- name: Create a PR
71-
uses: peter-evans/create-pull-request@v7
71+
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
7272
with:
7373
token: "${{ secrets.jupyterhub_bot_pat }}"
7474
author: JupyterHub Bot Account <[email protected]>

.github/zizmor.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Zizmor configuration file
2+
rules:
3+
unpinned-uses:
4+
config:
5+
policies:
6+
# Zizmor defaults to requiring pinning by immutable hashes.
7+
# Allow pinning by refs for trusted organisations.
8+
# https://woodruffw.github.io/zizmor/audits/#rulesunpinned-usesconfigpolicies
9+
actions/*: ref-pin
10+
docker/*: ref-pin
11+
jupyterhub/*: ref-pin

.pre-commit-config.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,15 @@ repos:
2222

2323
# autoformat and lint Python code
2424
- repo: https://github.com/astral-sh/ruff-pre-commit
25-
rev: v0.11.4
25+
rev: v0.11.8
2626
hooks:
2727
- id: ruff
2828
args: ["--select=I", "--fix", "--show-fixes"]
2929
- id: ruff-format
3030

3131
# Static security analysis of GitHub actions https://github.com/woodruffw/zizmor
32+
# Additional config is in .github/zizmor.yml
3233
- repo: https://github.com/woodruffw/zizmor-pre-commit
33-
rev: v1.5.2
34+
rev: v1.6.0
3435
hooks:
3536
- id: zizmor

0 commit comments

Comments
 (0)