Skip to content

Commit 3148ac0

Browse files
[pre-commit.ci] pre-commit autoupdate (#176)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Branch Vincent <[email protected]>
1 parent 5742409 commit 3148ac0

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

.github/workflows/deploy-preview.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,18 @@ concurrency:
1616
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
1717
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
1818

19+
permissions: {}
20+
1921
jobs:
2022
deploy-preview:
2123
name: Build & Deploy
2224
runs-on: ubuntu-latest
2325
if: |
2426
(github.event_name == 'pull_request_target' && contains(github.event.pull_request.labels.*.name, 'safe'))
2527
|| (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository)
28+
permissions:
29+
deployments: write
30+
pull-requests: write
2631
steps:
2732
- name: Checkout
2833
uses: actions/checkout@v3

.github/workflows/deploy-production.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,15 @@ on:
88
- main
99
workflow_dispatch: {}
1010

11+
permissions: {}
12+
1113
jobs:
1214
deploy-preview:
1315
name: Build & Deploy
1416
runs-on: ubuntu-latest
17+
permissions:
18+
deployments: write
19+
pull-requests: write
1520

1621
steps:
1722
- name: Checkout

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ repos:
1919
- id: check-docstring-first
2020

2121
- repo: https://github.com/astral-sh/ruff-pre-commit
22-
rev: v0.8.6
22+
rev: v0.9.5
2323
hooks:
2424
- id: ruff
2525
- id: ruff-format
@@ -29,10 +29,10 @@ repos:
2929
hooks:
3030
- id: prettier
3131
additional_dependencies:
32-
- prettier@3.0.3
32+
- prettier@3.3.3
3333
3434

3535
- repo: https://github.com/woodruffw/zizmor-pre-commit
36-
rev: v1.0.0
36+
rev: v1.3.0
3737
hooks:
3838
- id: zizmor

0 commit comments

Comments
 (0)