File tree Expand file tree Collapse file tree 4 files changed +17
-2
lines changed Expand file tree Collapse file tree 4 files changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,9 @@ name: build
6
6
schedule :
7
7
- cron : ' 51 2 * * 4'
8
8
9
+ permissions :
10
+ contents : read
11
+
9
12
jobs :
10
13
fmt :
11
14
name : cargo fmt
@@ -14,15 +17,15 @@ jobs:
14
17
- uses : actions/checkout@v4
15
18
- name : cargo fmt
16
19
run : cargo fmt --all -- --check
17
-
20
+
18
21
clippy :
19
22
name : cargo clippy
20
23
runs-on : ubuntu-latest
21
24
steps :
22
25
- uses : actions/checkout@v4
23
26
- name : cargo clippy
24
27
run : cargo clippy --all --all-targets -- -D warnings
25
-
28
+
26
29
test :
27
30
name : cargo test
28
31
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 3
3
push :
4
4
branches : [master]
5
5
6
+ permissions :
7
+ contents : read
8
+
6
9
jobs :
7
10
MainSequence :
8
11
name : DIRECTORY.md
Original file line number Diff line number Diff line change @@ -2,8 +2,14 @@ name: 'Close stale issues and PRs'
2
2
on :
3
3
schedule :
4
4
- cron : ' 0 0 * * *'
5
+ permissions :
6
+ contents : read
7
+
5
8
jobs :
6
9
stale :
10
+ permissions :
11
+ issues : write
12
+ pull-requests : write
7
13
runs-on : ubuntu-latest
8
14
steps :
9
15
- uses : actions/stale@v9
Original file line number Diff line number Diff line change 9
9
- master
10
10
pull_request :
11
11
12
+ permissions :
13
+ contents : read
14
+
12
15
env :
13
16
REPORT_NAME : " lcov.info"
14
17
You can’t perform that action at this time.
0 commit comments