From d64ffdc92a80db1866cfb18575120642cbb4b763 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Fri, 2 Sep 2022 15:09:33 -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 66597e3ec..03d049dbc 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