Skip to content

Commit 7969898

Browse files
committed
Merge #1646: ci: update audit.yml workflow to use actions-rust-lang/audit
66cf476 ci: update audit.yml workflow to use actions-rust-lang/audit (Steve Myers) Pull request description: ### Description Update `audit.yml` workflow to use `actions-rust-lang/audit`. ### Notes to the reviewers The old [`actions-rs/audit-check`](https://github.com/actions-rs/audit-check) is no longer maintained. ### Checklists #### All Submissions: * [x] I've signed all my commits * [x] I followed the [contribution guidelines](https://github.com/bitcoindevkit/bdk/blob/master/CONTRIBUTING.md) * [x] I ran `cargo fmt` and `cargo clippy` before committing Top commit has no ACKs. Tree-SHA512: f876d6289ad1a3c87cd1820d2efc931f1284ac4ad7fc3e0400f5fcf7274c41d27c1d3f3fe173e258b7115a724bf424e0b9240358fa79f84cef5144256628951c
2 parents 1f1361a + 66cf476 commit 7969898

File tree

1 file changed

+16
-7
lines changed

1 file changed

+16
-7
lines changed

.github/workflows/audit.yml

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,26 @@ name: Audit
33
on:
44
push:
55
paths:
6+
# Run if workflow changes
7+
- '.github/workflows/audit.yml'
8+
# Run on changed dependencies
69
- '**/Cargo.toml'
710
- '**/Cargo.lock'
11+
# Run if the configuration file changes
12+
- '**/audit.toml'
13+
# Rerun periodically to pick up new advisories
814
schedule:
9-
- cron: '0 0 * * 0' # Once per week
15+
- cron: '0 0 * * *' # Nightly
16+
# Run manually
17+
workflow_dispatch:
1018

1119
jobs:
12-
13-
security_audit:
14-
runs-on: ubuntu-20.04
20+
audit:
21+
runs-on: ubuntu-latest
22+
permissions:
23+
contents: read
24+
issues: write
1525
steps:
1626
- uses: actions/checkout@v4
17-
- uses: actions-rs/audit-check@v1
18-
with:
19-
token: ${{ secrets.GITHUB_TOKEN }}
27+
- uses: actions-rust-lang/audit@v1
28+
name: Audit Rust Dependencies

0 commit comments

Comments
 (0)