From 601f148a1e86727622b45112fc7f8241b96846b4 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 3d4964b..9b3d894 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}}