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.
1 parent edc25cb commit 00e4233Copy full SHA for 00e4233
.github/workflows/linter.yml
@@ -1,8 +1,14 @@
1
on: [push, pull_request]
2
name: linter
3
4
+permissions:
5
+ contents: read
6
+
7
jobs:
8
lint:
9
+ permissions:
10
+ contents: read # for actions/checkout to fetch code
11
+ pull-requests: read # for golangci/golangci-lint-action to fetch pull requests
12
strategy:
13
matrix:
14
go-version: [1.x]
.github/workflows/tests.yml
@@ -10,8 +10,14 @@ name: tests
env:
GO111MODULE: on
15
16
17
test:
18
19
+ actions: write # for styfle/cancel-workflow-action to cancel/stop running workflows
20
21
22
23
go-version: [1.x, 1.17.x]
0 commit comments