mirror of
https://github.com/golangci/golangci-lint-action.git
synced 2026-02-25 17:11:55 +00:00
Add permissions settings to action test
This commit is contained in:
parent
46f8c43497
commit
d2f2335c5f
1 changed files with 5 additions and 0 deletions
5
.github/workflows/test.yml
vendored
5
.github/workflows/test.yml
vendored
|
|
@ -28,6 +28,9 @@ jobs:
|
|||
- "v1.37"
|
||||
- "v1.37.1"
|
||||
runs-on: ${{ matrix.os }}
|
||||
permissions:
|
||||
contents: read
|
||||
pull-requests: read
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: ./
|
||||
|
|
@ -44,6 +47,8 @@ jobs:
|
|||
- macos-latest
|
||||
- windows-latest
|
||||
runs-on: ${{ matrix.os }}
|
||||
permissions:
|
||||
contents: read
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: ./
|
||||
|
|
|
|||
Loading…
Reference in a new issue