From 856d0ccb2fa20c3a3d7e58b6fec528befa9329e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Tj=C3=A4der?= Date: Wed, 3 Mar 2021 15:15:15 +0100 Subject: [PATCH] Add periodic GHA job to run cargo audit --- .github/workflows/audit.yaml | 12 ++++++++++++ .github/workflows/properties/audit.properties.json | 6 ++++++ 2 files changed, 18 insertions(+) create mode 100644 .github/workflows/audit.yaml create mode 100644 .github/workflows/properties/audit.properties.json diff --git a/.github/workflows/audit.yaml b/.github/workflows/audit.yaml new file mode 100644 index 0000000000..abf0898b81 --- /dev/null +++ b/.github/workflows/audit.yaml @@ -0,0 +1,12 @@ +name: Security audit +on: + schedule: + - cron: '0 0 * * *' +jobs: + audit: + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v1 + - uses: actions-rs/audit-check@v1 + with: + token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/properties/audit.properties.json b/.github/workflows/properties/audit.properties.json new file mode 100644 index 0000000000..fd3a84882b --- /dev/null +++ b/.github/workflows/properties/audit.properties.json @@ -0,0 +1,6 @@ +{ + "name": "Audit", + "description": "Cargo audit", + "iconName": "rust", + "categories": ["Rust"] +}