From 33f3e815805d9cd48180193dd7c9297558992560 Mon Sep 17 00:00:00 2001 From: Diogo Teles Sant'Anna Date: Tue, 29 Aug 2023 18:33:45 +0000 Subject: [PATCH] ci: set minimal permissions to GitHub workflows Signed-off-by: Diogo Teles Sant'Anna --- .github/workflows/ci.yml | 4 ++++ .github/workflows/lsif.yml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9bf8e75..a80e98a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,6 +4,10 @@ on: push: branches: - master + +permissions: + contents: read + jobs: test: strategy: diff --git a/.github/workflows/lsif.yml b/.github/workflows/lsif.yml index 83d4bfd..fbb6b0a 100644 --- a/.github/workflows/lsif.yml +++ b/.github/workflows/lsif.yml @@ -1,6 +1,10 @@ name: LSIF on: - push + +permissions: + contents: read + jobs: lsif-go: runs-on: ubuntu-latest