Skip to content

Commit 2d781ac

Browse files
committed
CI: Address zizmor warnings and bump deps
1 parent 5964238 commit 2d781ac

4 files changed

Lines changed: 24 additions & 6 deletions

File tree

.github/workflows/build.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,21 @@ on:
77
- .github/ISSUE_TEMPLATES/**
88
- scripts/**
99

10+
permissions: {}
11+
1012
jobs:
1113

1214
build:
1315
runs-on: ubuntu-latest
16+
permissions:
17+
contents: read
1418
steps:
15-
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
19+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
1620
with:
1721
submodules: true
1822
fetch-depth: 0
19-
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 #tag=v4.0.2
23+
persist-credentials: false
24+
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
2025
with:
2126
node-version: '20'
2227
cache: 'npm'

.github/workflows/deploy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ on:
1010
- cron: '15 2 * * 1-5'
1111
workflow_dispatch:
1212

13+
permissions: {}
14+
1315
jobs:
1416
build:
1517
runs-on: ubuntu-latest

.github/workflows/pr_pre-commit.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,19 @@ name: pre-commit
44
on:
55
pull_request:
66

7+
permissions: {}
8+
79
jobs:
810
pre-commit:
911
runs-on: ubuntu-latest
12+
permissions:
13+
contents: read
1014
steps:
11-
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
15+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
1216
with:
1317
fetch-depth: 0
14-
- uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
18+
persist-credentials: false
19+
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
1520
with:
1621
python-version: '3.12'
1722
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1

.github/workflows/ui.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,18 @@ on:
77
- 'ui/**'
88
- 'package-lock.json'
99

10+
permissions: {}
11+
1012
jobs:
1113
build:
1214
runs-on: ubuntu-latest
15+
permissions:
16+
contents: read
1317
steps:
14-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
15-
- uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
18+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
19+
with:
20+
persist-credentials: false
21+
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
1622
with:
1723
node-version: '24'
1824
cache: npm

0 commit comments

Comments
 (0)