File tree 1 file changed +17
-18
lines changed
1 file changed +17
-18
lines changed Original file line number Diff line number Diff line change 1
- name : Audit project
1
+ name : " Audit Dependencies "
2
2
on :
3
- workflow_dispatch :
3
+ push :
4
+ paths :
5
+ # Run on changed dependencies
6
+ - ' **/Cargo.toml'
7
+ - ' **/Cargo.lock'
8
+ # Rerun periodicly to pick up new advisories
4
9
schedule :
5
- - cron : ' 30 5 * * 1,3'
10
+ - cron : ' 0 0 * * *'
11
+ # Run manually
12
+ workflow_dispatch :
6
13
7
14
jobs :
8
15
audit :
9
16
runs-on : ubuntu-latest
10
17
permissions :
11
- contents : write
12
- pull-requests : write
13
-
18
+ contents : read
19
+ issues : write
14
20
steps :
15
- - name : Run cargo audit fix
16
- uses : simonhyll/cargo-audit@v1
17
-
18
- - name : Create Pull Request
19
- uses : peter-evans/create-pull-request@v7
21
+ - uses : actions/checkout@v4
22
+ - uses : actions-rust-lang/audit@v1
23
+ name : Audit Rust Dependencies
20
24
with :
21
- token : ${{ secrets.GITHUB_TOKEN }}
22
- branch : bot/cargo-audit
23
- title : " [Bot] Audit fixes"
24
- commit-message : Cargo audit fixes
25
- body : >
26
- Updates to Cargo.toml and/or Cargo.lock with security fixes.
27
- labels : automated pr
25
+ # Comma separated list of issues to ignore
26
+ ignore : RUSTSEC-2020-0036
You can’t perform that action at this time.
0 commit comments