Skip to content

Commit f4f191c

Browse files
committed
Fix warning[excessive-permissions]: overly broad permissions
https://woodruffw.github.io/zizmor/audits/#excessive-permissions
1 parent de8b8a1 commit f4f191c

5 files changed

Lines changed: 19 additions & 7 deletions

File tree

.github/workflows/docs.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ name: Docs
22

33
on: [push, pull_request, workflow_dispatch]
44

5+
permissions: {}
6+
7+
env:
8+
FORCE_COLOR: 1
9+
510
jobs:
611
build:
712
runs-on: ubuntu-latest

.github/workflows/lint.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@ name: Lint
22

33
on: [push, pull_request, workflow_dispatch]
44

5+
permissions: {}
6+
57
env:
68
FORCE_COLOR: 1
9+
RUFF_OUTPUT_FORMAT: github
710

811
jobs:
912
lint:

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ on:
1111
- published
1212
workflow_dispatch:
1313

14+
permissions: {}
15+
1416
env:
1517
FORCE_COLOR: 1
1618

.github/workflows/test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: Test
22

33
on: [push, pull_request, workflow_dispatch]
44

5+
permissions: {}
6+
57
env:
68
FORCE_COLOR: 1
79

.pre-commit-config.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
repos:
22
- repo: https://github.com/astral-sh/ruff-pre-commit
3-
rev: v0.8.6
3+
rev: v0.9.6
44
hooks:
55
- id: ruff
66
args: [--exit-non-zero-on-fix]
77

88
- repo: https://github.com/psf/black-pre-commit-mirror
9-
rev: 24.10.0
9+
rev: 25.1.0
1010
hooks:
1111
- id: black
1212

@@ -26,18 +26,18 @@ repos:
2626
exclude: \.github/ISSUE_TEMPLATE\.md|\.github/PULL_REQUEST_TEMPLATE\.md
2727

2828
- repo: https://github.com/python-jsonschema/check-jsonschema
29-
rev: 0.30.0
29+
rev: 0.31.1
3030
hooks:
3131
- id: check-github-workflows
3232
- id: check-renovate
3333

3434
- repo: https://github.com/rhysd/actionlint
35-
rev: v1.7.6
35+
rev: v1.7.7
3636
hooks:
3737
- id: actionlint
3838

3939
- repo: https://github.com/woodruffw/zizmor-pre-commit
40-
rev: v1.0.0
40+
rev: v1.3.1
4141
hooks:
4242
- id: zizmor
4343

@@ -52,12 +52,12 @@ repos:
5252
- id: validate-pyproject
5353

5454
- repo: https://github.com/tox-dev/tox-ini-fmt
55-
rev: 1.4.1
55+
rev: 1.5.0
5656
hooks:
5757
- id: tox-ini-fmt
5858

5959
- repo: https://github.com/rbubley/mirrors-prettier
60-
rev: v3.4.2
60+
rev: v3.5.0
6161
hooks:
6262
- id: prettier
6363
args: [--prose-wrap=always, --print-width=88]

0 commit comments

Comments
 (0)