From 81625114041c249db2973612ebb337780c0dd73c Mon Sep 17 00:00:00 2001 From: Lucky3028 Date: Sun, 8 Sep 2024 13:53:43 +0900 Subject: [PATCH 1/2] ci: replace actions-rs/audit-check -> actions-rust-lang/audit --- .github/workflows/audit.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/audit.yaml b/.github/workflows/audit.yaml index 0387b549..3926932e 100644 --- a/.github/workflows/audit.yaml +++ b/.github/workflows/audit.yaml @@ -7,6 +7,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions-rs/audit-check@v1 + - uses: actions-rust-lang/audit@v1 with: - token: ${{ secrets.GITHUB_TOKEN }} + workingDirectory: ./server From 9f41fab019eac2ddc61929ca253501b605f66164 Mon Sep 17 00:00:00 2001 From: Lucky3028 Date: Sun, 8 Sep 2024 14:42:09 +0900 Subject: [PATCH 2/2] docs: add notes for cron --- .github/workflows/audit.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/audit.yaml b/.github/workflows/audit.yaml index 3926932e..f32e1044 100644 --- a/.github/workflows/audit.yaml +++ b/.github/workflows/audit.yaml @@ -1,6 +1,8 @@ name: Security Audit on: schedule: + # Runs every day at 00:00 UTC + # https://crontab.guru/#0_0_*_*_* - cron: "0 0 * * *" jobs: audit: