Skip to content

Commit ec3746a

Browse files
m0nhawkMichael LukowskiMichaelLukowski
committed
feat: gen3 changes
Co-authored-by: Michael Lukowski <[email protected]> Co-authored-by: Michael Lukowski <[email protected]> Co-authored-by: Andrew Prokhorenkov <[email protected]>
1 parent 5a40bd8 commit ec3746a

File tree

3 files changed

+116
-0
lines changed

3 files changed

+116
-0
lines changed

.github/workflows/golangci-lint.yml

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: golangci-lint
2+
on:
3+
push:
4+
tags:
5+
- v*
6+
branches:
7+
- master
8+
- main
9+
pull_request:
10+
jobs:
11+
golangci:
12+
name: lint
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: golangci-lint
17+
uses: golangci/golangci-lint-action@v2
18+
with:
19+
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
20+
version: v1.29
21+
22+
# Optional: working directory, useful for monorepos
23+
# working-directory: somedir
24+
25+
# Optional: golangci-lint command line arguments.
26+
# args: --issues-exit-code=0 --timeout=5m
27+
28+
# Optional: show only new issues if it's a pull request. The default value is `false`.
29+
only-new-issues: true
30+
31+
# Optional: if set to true then the action will use pre-installed Go.
32+
# skip-go-installation: true
33+
34+
# Optional: if set to true then the action don't cache or restore ~/go/pkg.
35+
# skip-pkg-cache: true
36+
37+
# Optional: if set to true then the action don't cache or restore ~/.cache/go-build.
38+
# skip-build-cache: true

.pre-commit-config.yaml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
repos:
2+
- repo: [email protected]:Yelp/detect-secrets
3+
rev: v0.13.1
4+
hooks:
5+
- id: detect-secrets
6+
args: ['--baseline', '.secrets.baseline']
7+
exclude: go.sum
8+
- repo: https://github.com/pre-commit/pre-commit-hooks
9+
rev: v2.5.0
10+
hooks:
11+
- id: no-commit-to-branch
12+
args: [--branch, develop, --branch, master, --pattern, release/.*]

.secrets.baseline

+66
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
{
2+
"exclude": {
3+
"files": "go.sum",
4+
"lines": null
5+
},
6+
"generated_at": "2021-10-13T19:08:30Z",
7+
"plugins_used": [
8+
{
9+
"name": "AWSKeyDetector"
10+
},
11+
{
12+
"name": "ArtifactoryDetector"
13+
},
14+
{
15+
"base64_limit": 4.5,
16+
"name": "Base64HighEntropyString"
17+
},
18+
{
19+
"name": "BasicAuthDetector"
20+
},
21+
{
22+
"name": "CloudantDetector"
23+
},
24+
{
25+
"hex_limit": 3,
26+
"name": "HexHighEntropyString"
27+
},
28+
{
29+
"name": "IbmCloudIamDetector"
30+
},
31+
{
32+
"name": "IbmCosHmacDetector"
33+
},
34+
{
35+
"name": "JwtTokenDetector"
36+
},
37+
{
38+
"keyword_exclude": null,
39+
"name": "KeywordDetector"
40+
},
41+
{
42+
"name": "MailchimpDetector"
43+
},
44+
{
45+
"name": "PrivateKeyDetector"
46+
},
47+
{
48+
"name": "SlackDetector"
49+
},
50+
{
51+
"name": "SoftlayerDetector"
52+
},
53+
{
54+
"name": "StripeDetector"
55+
},
56+
{
57+
"name": "TwilioKeyDetector"
58+
}
59+
],
60+
"results": {},
61+
"version": "0.13.1",
62+
"word_list": {
63+
"file": null,
64+
"hash": null
65+
}
66+
}

0 commit comments

Comments
 (0)