Skip to content

Commit ba3a5db

Browse files
committed
Fix zizmor warnings
1 parent 9fd6380 commit ba3a5db

File tree

6 files changed

+26
-2
lines changed

6 files changed

+26
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
with:
2424
fetch-depth: 0
2525
submodules: true
26+
persist-credentials: false
2627
- name: Install mdbook
2728
run: |
2829
cargo install --git https://github.com/trail-of-forks/mdBook.git --branch building-secure-contracts mdbook || true

.github/workflows/echidna.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ on:
1717
# run CI every day even if no PRs/merges occur
1818
- cron: "0 12 * * *"
1919

20+
permissions:
21+
contents: read
22+
2023
jobs:
2124
tests:
2225
name: ${{ matrix.name }}
@@ -129,6 +132,8 @@ jobs:
129132
steps:
130133
- name: Checkout repository
131134
uses: actions/checkout@v5
135+
with:
136+
persist-credentials: false
132137

133138
- name: Checkout Damn Vulnerable DeFi solutions
134139
uses: actions/checkout@v5
@@ -137,6 +142,7 @@ jobs:
137142
repository: crytic/damn-vulnerable-defi-echidna
138143
ref: solutions
139144
path: ${{ matrix.workdir }}
145+
persist-credentials: false
140146

141147
- name: Set up Nodejs
142148
uses: actions/setup-node@v5

.github/workflows/lint_format.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
- master
77
pull_request:
88

9+
permissions:
10+
contents: read
11+
912
jobs:
1013
build:
1114
runs-on: ubuntu-latest
@@ -15,6 +18,7 @@ jobs:
1518
uses: actions/checkout@v5
1619
with:
1720
submodules: true
21+
persist-credentials: false
1822

1923
- name: Set up Node.js
2024
uses: actions/setup-node@v5

.github/workflows/lint_links.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,17 @@ on:
1515
# run CI at 09:00 every Tuesday even if no PRs/merges occur
1616
- cron: "0 9 * * 2"
1717

18+
permissions:
19+
contents: read
20+
1821
jobs:
1922
markdown-link-check:
2023
runs-on: ubuntu-latest
2124
steps:
2225
- uses: actions/checkout@v5
2326
with:
2427
submodules: recursive
28+
persist-credentials: false
2529
- uses: tcort/github-action-markdown-link-check@v1
2630
with:
2731
use-quiet-mode: "yes"

.github/workflows/manticore.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,16 @@ on:
1515
# run CI every day even if no PRs/merges occur
1616
- cron: "0 12 * * *"
1717

18+
permissions:
19+
contents: read
20+
1821
jobs:
1922
tests:
2023
runs-on: ubuntu-22.04
21-
strategy:
22-
fail-fast: false
2324
steps:
2425
- uses: actions/checkout@v5
26+
with:
27+
persist-credentials: false
2528
- name: Set up Python 3.8
2629
uses: actions/setup-python@v6
2730
with:

.github/workflows/medusa.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ on:
1717
# run CI every day even if no PRs/merges occur
1818
- cron: "0 12 * * *"
1919

20+
permissions:
21+
contents: read
22+
2023
jobs:
2124
tests:
2225
name: ${{ matrix.name }}
@@ -125,6 +128,8 @@ jobs:
125128
steps:
126129
- name: Checkout repository
127130
uses: actions/checkout@v5
131+
with:
132+
persist-credentials: false
128133

129134
- name: Checkout Damn Vulnerable DeFi solutions
130135
uses: actions/checkout@v5
@@ -133,6 +138,7 @@ jobs:
133138
repository: crytic/damn-vulnerable-defi-echidna
134139
ref: solutions
135140
path: ${{ matrix.workdir }}
141+
persist-credentials: false
136142

137143
- name: Set up Nodejs
138144
uses: actions/setup-node@v5

0 commit comments

Comments
 (0)