about summary refs log tree commit diff
path: root/compiler/rustc_codegen_cranelift/.github/workflows/audit.yml
blob: 27c95572ef8798064d1b092b20651b1cbea1f0c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
name: Security audit
on:
  workflow_dispatch:
  schedule:
    - cron: '0 10 * * 1' # every monday at 10:00 UTC
permissions:
  issues: write
  checks: write
jobs:
  audit:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - run: |
          sed -i 's/components.*/components = []/' rust-toolchain
      - uses: rustsec/audit-check@v1.4.1
        with:
          token: ${{ secrets.GITHUB_TOKEN }}