From 8fbbac8c898abcf654af999e019f6114c87bb119 Mon Sep 17 00:00:00 2001 From: Paolo Di Lorenzo Date: Sun, 31 Mar 2024 17:33:51 -0400 Subject: [PATCH] Fix lintr.yaml permissions --- .github/workflows/{lintr.yml => lintr.yaml} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename .github/workflows/{lintr.yml => lintr.yaml} (61%) diff --git a/.github/workflows/lintr.yml b/.github/workflows/lintr.yaml similarity index 61% rename from .github/workflows/lintr.yml rename to .github/workflows/lintr.yaml index de0d74e..d055364 100644 --- a/.github/workflows/lintr.yml +++ b/.github/workflows/lintr.yaml @@ -7,10 +7,10 @@ on: pull_request: branches: master -permissions: - contents: read - jobs: lintr: + permissions: + # for github/codeql-action/upload-sarif to upload SARIF results + security-events: write uses: pdil/usmapdata/.github/workflows/lintr.yaml@master secrets: inherit