From 8c4881a3ad0ee6a7209e62240664dd3898370fbf Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Fri, 2 Sep 2022 15:09:29 -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 0ae80af..a2a9d22 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