From 7650f23e68fd1d83adc4dfba627474dc1f46e938 Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Sat, 18 May 2024 00:13:43 +0200 Subject: [PATCH] Tested if just moving stuff where rustsec expects it works --- .github/workflows/cargo-audit.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/cargo-audit.yaml b/.github/workflows/cargo-audit.yaml index 5ca193312..fd762eed4 100644 --- a/.github/workflows/cargo-audit.yaml +++ b/.github/workflows/cargo-audit.yaml @@ -1,14 +1,19 @@ name: Security audit on: + schedule: + - cron: '40 7 * * *' push: paths: - '**/Cargo.toml' - '**/Cargo.lock' + workflow_dispatch: + jobs: security_audit: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + - run: mv server/* . - uses: rustsec/audit-check@v1.4.1 with: token: ${{ secrets.GITHUB_TOKEN }}