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
66 schedule :
77 - cron : ' 51 2 * * 4'
88
9+ permissions :
10+ contents : read
11+
912jobs :
1013 fmt :
1114 name : cargo fmt
@@ -14,15 +17,15 @@ jobs:
1417 - uses : actions/checkout@v4
1518 - name : cargo fmt
1619 run : cargo fmt --all -- --check
17-
20+
1821 clippy :
1922 name : cargo clippy
2023 runs-on : ubuntu-latest
2124 steps :
2225 - uses : actions/checkout@v4
2326 - name : cargo clippy
2427 run : cargo clippy --all --all-targets -- -D warnings
25-
28+
2629 test :
2730 name : cargo test
2831 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 33 push :
44 branches : [master]
55
6+ permissions :
7+ contents : read
8+
69jobs :
710 MainSequence :
811 name : DIRECTORY.md
Original file line number Diff line number Diff line change @@ -2,8 +2,14 @@ name: 'Close stale issues and PRs'
22on :
33 schedule :
44 - cron : ' 0 0 * * *'
5+ permissions :
6+ contents : read
7+
58jobs :
69 stale :
10+ permissions :
11+ issues : write
12+ pull-requests : write
713 runs-on : ubuntu-latest
814 steps :
915 - uses : actions/stale@v9
Original file line number Diff line number Diff line change 99 - master
1010 pull_request :
1111
12+ permissions :
13+ contents : read
14+
1215env :
1316 REPORT_NAME : " lcov.info"
1417
You can’t perform that action at this time.
0 commit comments