Skip to content

Commit

Permalink
🧹 explicitly add extended linting permissions (#3571)
Browse files Browse the repository at this point in the history
* test extended linting

Signed-off-by: Ivan Milchev <[email protected]>

* add more broken things

Signed-off-by: Ivan Milchev <[email protected]>

---------

Signed-off-by: Ivan Milchev <[email protected]>
  • Loading branch information
imilchev authored Mar 14, 2024
1 parent b7d436c commit 2ddac29
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/pr-extended-linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@ on:

jobs:
golangci-lint:
permissions:
# allow read access to the content for analysis.
contents: read
# allow read access to pull request. Use with `only-new-issues` option.
pull-requests: read
# allow write access to checks to allow the action to annotate code in the PR.
checks: write
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand All @@ -28,4 +35,5 @@ jobs:
with:
version: latest
args: --config=.github/.golangci.yml --timeout=30m
only-new-issues: true
only-new-issues: true
skip-cache: true

0 comments on commit 2ddac29

Please sign in to comment.