Skip to content

Nightly Cargo Audit #885

Nightly Cargo Audit

Nightly Cargo Audit #885

name: Nightly Cargo Audit
on:
schedule:
- cron: '0 0 * * *'
jobs:
cargo_audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
notify-slack-on-failure:
if: failure()
needs: [cargo_audit]
runs-on: ubuntu-latest
steps:
- uses: ravsamhq/notify-slack-action@v1
with:
status: 'failure'
token: ${{ secrets.GITHUB_TOKEN }}
notification_title: '{workflow} has {status_message}'
message_format: '{emoji} *{workflow}* {status_message} in <{repo_url}|{repo}> : <{run_url}|View Run Results>'
footer: ''
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_TOOLING }}