1name: Run cargo-audit
2on:
3  schedule:
4    - cron: '0 0 * * *'
5jobs:
6  security_audit:
7    if: github.repository == 'bytecodealliance/wasmtime'
8    runs-on: ubuntu-latest
9    steps:
10      - uses: actions/checkout@v4
11        with:
12          submodules: true
13      - uses: rustsec/audit-check@v1.4.1
14        with:
15          token: ${{ secrets.GITHUB_TOKEN }}
16        # This seems to hit rate limits about 50% of the time, unclear why, but
17        # emailing us once every few days is not the most useful thing.
18        continue-on-error: true
19