Skip to content

Add workflows

Add workflows #1

Workflow file for this run

---
name: Audit Rust dependencies
on:
pull_request:
paths:
- .github/workflows/audit.yml
- '**/Cargo.toml'
- '**/Cargo.lock'
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
security_audit:
runs-on: ubuntu-latest
permissions:
issues: write
issues-reason: to create issues

Check failure on line 20 in .github/workflows/audit.yml

View workflow run for this annotation

GitHub Actions / Audit Rust dependencies

Invalid workflow file

The workflow is not valid. .github/workflows/audit.yml (Line: 20, Col: 7): Unexpected value 'issues-reason' .github/workflows/audit.yml (Line: 22, Col: 7): Unexpected value 'checks-reason'
checks: write
checks-reason: to create check
steps:
- uses: actions/checkout@v4
- uses: rustsec/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}