File tree Expand file tree Collapse file tree 6 files changed +26
-2
lines changed Expand file tree Collapse file tree 6 files changed +26
-2
lines changed Original file line number Diff line number Diff line change 23
23
with :
24
24
fetch-depth : 0
25
25
submodules : true
26
+ persist-credentials : false
26
27
- name : Install mdbook
27
28
run : |
28
29
cargo install --git https://github.com/trail-of-forks/mdBook.git --branch building-secure-contracts mdbook || true
Original file line number Diff line number Diff line change 17
17
# run CI every day even if no PRs/merges occur
18
18
- cron : " 0 12 * * *"
19
19
20
+ permissions :
21
+ contents : read
22
+
20
23
jobs :
21
24
tests :
22
25
name : ${{ matrix.name }}
@@ -129,6 +132,8 @@ jobs:
129
132
steps :
130
133
- name : Checkout repository
131
134
uses : actions/checkout@v5
135
+ with :
136
+ persist-credentials : false
132
137
133
138
- name : Checkout Damn Vulnerable DeFi solutions
134
139
uses : actions/checkout@v5
@@ -137,6 +142,7 @@ jobs:
137
142
repository : crytic/damn-vulnerable-defi-echidna
138
143
ref : solutions
139
144
path : ${{ matrix.workdir }}
145
+ persist-credentials : false
140
146
141
147
- name : Set up Nodejs
142
148
uses : actions/setup-node@v5
Original file line number Diff line number Diff line change 6
6
- master
7
7
pull_request :
8
8
9
+ permissions :
10
+ contents : read
11
+
9
12
jobs :
10
13
build :
11
14
runs-on : ubuntu-latest
15
18
uses : actions/checkout@v5
16
19
with :
17
20
submodules : true
21
+ persist-credentials : false
18
22
19
23
- name : Set up Node.js
20
24
uses : actions/setup-node@v5
Original file line number Diff line number Diff line change 15
15
# run CI at 09:00 every Tuesday even if no PRs/merges occur
16
16
- cron : " 0 9 * * 2"
17
17
18
+ permissions :
19
+ contents : read
20
+
18
21
jobs :
19
22
markdown-link-check :
20
23
runs-on : ubuntu-latest
21
24
steps :
22
25
- uses : actions/checkout@v5
23
26
with :
24
27
submodules : recursive
28
+ persist-credentials : false
25
29
- uses : tcort/github-action-markdown-link-check@v1
26
30
with :
27
31
use-quiet-mode : " yes"
Original file line number Diff line number Diff line change 15
15
# run CI every day even if no PRs/merges occur
16
16
- cron : " 0 12 * * *"
17
17
18
+ permissions :
19
+ contents : read
20
+
18
21
jobs :
19
22
tests :
20
23
runs-on : ubuntu-22.04
21
- strategy :
22
- fail-fast : false
23
24
steps :
24
25
- uses : actions/checkout@v5
26
+ with :
27
+ persist-credentials : false
25
28
- name : Set up Python 3.8
26
29
uses : actions/setup-python@v6
27
30
with :
Original file line number Diff line number Diff line change 17
17
# run CI every day even if no PRs/merges occur
18
18
- cron : " 0 12 * * *"
19
19
20
+ permissions :
21
+ contents : read
22
+
20
23
jobs :
21
24
tests :
22
25
name : ${{ matrix.name }}
@@ -125,6 +128,8 @@ jobs:
125
128
steps :
126
129
- name : Checkout repository
127
130
uses : actions/checkout@v5
131
+ with :
132
+ persist-credentials : false
128
133
129
134
- name : Checkout Damn Vulnerable DeFi solutions
130
135
uses : actions/checkout@v5
@@ -133,6 +138,7 @@ jobs:
133
138
repository : crytic/damn-vulnerable-defi-echidna
134
139
ref : solutions
135
140
path : ${{ matrix.workdir }}
141
+ persist-credentials : false
136
142
137
143
- name : Set up Nodejs
138
144
uses : actions/setup-node@v5
You can’t perform that action at this time.
0 commit comments