Skip to content

Commit 7de23e0

Browse files
authored
ci: fix security audit check (#71)
This also fixes the `schedule` property being on the wrong indentation level.
1 parent 032757f commit 7de23e0

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/audit.yml

+7-2
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,18 @@ on:
55
paths:
66
- "**/Cargo.toml"
77
- "**/Cargo.lock"
8-
schedule:
9-
- cron: "0 0 * * *"
8+
- ".github/workflows/audit.yml"
9+
schedule:
10+
- cron: "0 0 * * *"
1011

1112
jobs:
1213
security_audit:
1314
name: Audit check
1415
runs-on: ubuntu-latest
16+
permissions:
17+
checks: write
18+
contents: read
19+
issues: write
1520
steps:
1621
- uses: actions/checkout@v4
1722
- uses: rustsec/[email protected]

0 commit comments

Comments
 (0)