From 117bd27ae95a4aed8813a443f50db01e6d14efc2 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Fri, 2 Sep 2022 15:09:31 -0700 Subject: [PATCH] GitHub Workflows security hardening --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2c410dc..51a101e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,6 +5,9 @@ on: pull_request: schedule: [cron: "40 1 * * *"] +permissions: + contents: read + env: RUSTFLAGS: -Dwarnings