aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/security.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/security.yml')
-rw-r--r--.github/workflows/security.yml26
1 files changed, 26 insertions, 0 deletions
diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml
new file mode 100644
index 0000000..704c5f0
--- /dev/null
+++ b/.github/workflows/security.yml
@@ -0,0 +1,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 }}"
+ }
+ }
+ ]
+ }
+ }
+}