We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 122f853 + 99b217c commit fda224fCopy full SHA for fda224f
.github/workflows/ci.yaml
@@ -10,8 +10,14 @@ on:
10
branches:
11
- master
12
- main
13
+permissions:
14
+ contents: read
15
+
16
jobs:
17
golangci:
18
+ permissions:
19
+ contents: read # for actions/checkout to fetch code
20
+ pull-requests: read # for golangci/golangci-lint-action to fetch pull requests
21
name: lint
22
runs-on: ubuntu-latest
23
steps:
@@ -50,4 +56,4 @@ jobs:
50
56
env:
51
57
GO111MODULE: "on"
52
58
MONGODB_TEST_CXN: "localhost"
53
- run: make generate; if [ -z "$FIX_TEST" ]; then make build; make; else make build_accept; make $FIX_TEST; fi
59
+ run: make generate; if [ -z "$FIX_TEST" ]; then make build; make; else make build_accept; make $FIX_TEST; fi
0 commit comments