From 230050f00417dd84c558be653b0afbd625ce2da9 Mon Sep 17 00:00:00 2001 From: Alex Date: Thu, 8 Dec 2022 20:13:41 +0200 Subject: [PATCH] build: harden ci.yml permissions Signed-off-by: Alex --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9090ca194..e4aeee0c9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,6 +16,9 @@ concurrency: group: ${{ github.ref }} cancel-in-progress: true +permissions: + contents: read # to fetch code (actions/checkout) + jobs: rustfmt: name: rustfmt -- GitLab