diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml index 80cb1a0..c9a99ff 100644 --- a/.github/workflows/audit.yml +++ b/.github/workflows/audit.yml @@ -3,24 +3,20 @@ name: Cargo Audit on: push: branches: [ main ] + paths: + - '**/Cargo.toml' + - '**/Cargo.lock' pull_request: branches: [ main ] + paths: + - '**/Cargo.toml' + - '**/Cargo.lock' schedule: - cron: '0 0 * * *' env: CARGO_TERM_COLOR: always -github-token: - action-input: - input: token - is-default: false - permissions: - issues: write - issues-reason: to create issues - checks: write - checks-reason: to create check - jobs: audit: runs-on: ubuntu-latest