You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,9 +9,7 @@ The action runs [golangci-lint](https://github.com/golangci/golangci-lint) and r
9
9
10
10
## How to use
11
11
12
-
1. Create a [GitHub token](https://github.com/settings/tokens/new) with scope `repo.public_repo`.
13
-
2. Add it to a [repository secrets](https://help.github.com/en/actions/configuring-and-managing-workflows/creating-and-storing-encrypted-secrets#creating-encrypted-secrets): repository -> `Settings` -> `Secrets`.
14
-
3. Add `.github/workflows/golangci-lint.yml` with the following contents:
12
+
Add `.github/workflows/golangci-lint.yml` with the following contents:
15
13
16
14
```yaml
17
15
name: golangci-lint
@@ -37,8 +35,11 @@ jobs:
37
35
# Optional: golangci-lint command line arguments.
38
36
# args: ./the-only-dir-to-analyze/...
39
37
40
-
# Required: GitHub token with scope `repo.public_repo`. Used for fetching a list of releases of golangci-lint.
0 commit comments