Try to avoid running cargo audit on forks (it fails)
This commit is contained in:
1
.github/workflows/cargo_audit.yml
vendored
1
.github/workflows/cargo_audit.yml
vendored
@@ -6,6 +6,7 @@ on:
|
||||
jobs:
|
||||
audit:
|
||||
runs-on: ubuntu-18.04
|
||||
if: env.GITHUB_HEAD_REF == 0
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions-rs/toolchain@v1
|
||||
|
||||
Reference in New Issue
Block a user