Skip to content

Commit 165de47

Browse files
lwshangclaude
andauthored
chore: simplify audit workflow to always-pass stub (#137)
The daily schedule is removed. The real cargo audit is now handled by Dependabot which can also auto-create fix PRs. The job is kept as a no-op stub because `audit:required` is enforced by repo branch rules. Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent eeb2923 commit 165de47

1 file changed

Lines changed: 3 additions & 15 deletions

File tree

.github/workflows/audit.yml

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,28 +5,16 @@ on:
55
branches:
66
- main
77
pull_request:
8-
schedule:
9-
# * is a special character in YAML so you have to quote this string
10-
- cron: '0 14 * * *'
118

129
concurrency:
1310
group: ${{ github.workflow }}-${{ github.ref }}
1411
cancel-in-progress: true
1512

16-
env:
17-
# When getting Rust dependencies, retry on network error:
18-
CARGO_NET_RETRY: 10
19-
# Use the stable toolchain for the audit
20-
RUSTUP_TOOLCHAIN: stable
21-
2213
jobs:
2314
test:
2415
name: audit:required
2516
runs-on: ubuntu-latest
26-
permissions:
27-
contents: read
28-
issues: write
29-
3017
steps:
31-
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
32-
- uses: actions-rust-lang/audit@72c09e02f132669d52284a3323acdb503cfc1a24 # v1.2.7
18+
# The `audit:required` status check is required by repo rules to merge PRs.
19+
# The real cargo-audit is covered by Dependabot, so this job just passes.
20+
- run: 'true'

0 commit comments

Comments
 (0)