mirror of
https://github.com/NerdyPepper/eva
synced 2024-07-03 07:28:36 +00:00
Add audit
This commit is contained in:
parent
a55ee6986c
commit
69213f2cac
14
.github/workflows/change-audit.yml
vendored
Normal file
14
.github/workflows/change-audit.yml
vendored
Normal file
|
@ -0,0 +1,14 @@
|
|||
name: Security audit
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- '**/Cargo.toml'
|
||||
- '**/Cargo.lock'
|
||||
jobs:
|
||||
security_audit:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions-rs/audit-check@v1
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
12
.github/workflows/scheduled-audit.yml
vendored
Normal file
12
.github/workflows/scheduled-audit.yml
vendored
Normal file
|
@ -0,0 +1,12 @@
|
|||
name: Security audit
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 0 * * *'
|
||||
jobs:
|
||||
security_audit:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions-rs/audit-check@v1
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
Loading…
Reference in New Issue
Block a user