From 8c7cf2d357b07eec1a1dfda77383abf7ef0a3c48 Mon Sep 17 00:00:00 2001 From: PrometheusBot Date: Mon, 18 Dec 2023 21:25:12 +0100 Subject: [PATCH] Update common Prometheus files (#187) Signed-off-by: prombot Signed-off-by: mort --- .github/workflows/golangci-lint.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 805c59f..4b29222 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -12,8 +12,14 @@ on: - ".golangci.yml" pull_request: +permissions: # added using https://github.com/step-security/secure-repo + contents: read + jobs: golangci: + permissions: + contents: read # for actions/checkout to fetch code + pull-requests: read # for golangci/golangci-lint-action to fetch pull requests name: lint runs-on: ubuntu-latest steps: