From e7e71039553602367bbf465b22aea3a84df386db Mon Sep 17 00:00:00 2001 From: Alex Date: Thu, 8 Dec 2022 20:26:53 +0200 Subject: [PATCH] build: harden ci.yml permissions Signed-off-by: Alex --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5bad4af9..f697b9c4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,5 +1,9 @@ name: CI on: [push, pull_request] + +permissions: + contents: read # to fetch code (actions/checkout) + jobs: lint: name: Lint