aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/security.yml
diff options
context:
space:
mode:
authorMartin Geisler <mgeisler@google.com>2024-04-09 20:01:13 +0200
committerMartin Geisler <mgeisler@google.com>2024-04-09 20:01:13 +0200
commitb1c472d10310e1e641ac8fa2642e0f42faf0ad8a (patch)
treec2c64216fc875d979ae8f7ec3a4918c207259312 /.github/workflows/security.yml
parent285c3be939e3c2ae6c1af0284aecf8acaa3ea10d (diff)
downloadbincode-b1c472d10310e1e641ac8fa2642e0f42faf0ad8a.tar.gz
Import 'bincode' crateupstream
Request Document: go/android-rust-importing-crates For CL Reviewers: go/android3p#cl-review For Build Team: go/ab-third-party-imports Bug: http://b/330683225 Test: m libbincode Change-Id: I4c077729d734537bfa80a53e7c9a2ca8069353e5
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 }}"
+ }
+ }
+ ]
+ }
+ }
+}