From 5c82f4beca302b80cc84a66e5a7206861a63bee4 Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 23 Sep 2022 22:14:57 +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 a98d7e032..54bc2afb6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,6 +6,9 @@ env: LC_ALL: en_US.UTF-8 LANG: en_US.UTF-8 +permissions: + contents: read # to fetch code (actions/checkout) + jobs: linux: name: Linux (python=${{ matrix.pyver }} cc=${{ matrix.cc }} sanitize=${{ matrix.sanitize }})