aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/security.yml
blob: 704c5f04abd7d75d151686043fb1081f5b365d71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
  "name": "Security audit",
  "on": {
    "schedule": [
      {
        "cron": "0 0 * * *"
      }
    ]
  },
  "jobs": {
    "audit": {
      "runs-on": "ubuntu-latest",
      "steps": [
        {
          "uses": "actions/checkout@v1"
        },
        {
          "uses": "actions-rs/audit-check@v1",
          "with": {
            "token": "${{ secrets.GITHUB_TOKEN }}"
          }
        }
      ]
    }
  }
}