Skip to content

Security Audit

Security Audit #31

name: Security Audit
on:
push:
branches: [main, develop]
paths:
- '.github/workflows/security-audit.yml'
- 'Cargo.lock'
- 'Cargo.toml'
- '**/Cargo.toml'
pull_request:
branches: [main, develop]
paths:
- '.github/workflows/security-audit.yml'
- 'Cargo.lock'
- 'Cargo.toml'
- '**/Cargo.toml'
schedule:
- cron: '17 7 * * 1'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
permissions:
contents: read
jobs:
audit:
name: Security Audit
runs-on: ubuntu-latest
permissions:
contents: read
checks: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run security audit
uses: rustsec/audit-check@v2.0.0
with:
token: ${{ secrets.GITHUB_TOKEN }}