From 0f2a41247f0cbad73dfdcf76a755e952ccdd5628 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Fri, 2 Sep 2022 15:09:30 -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 ce5b099..a023d05 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,6 +6,9 @@ on: pull_request: schedule: [cron: "40 1 * * *"] +permissions: + contents: read + jobs: install: name: Rust ${{matrix.rust}} on ${{matrix.name}}