Skip to content

Commit 357cb97

Browse files
authored
Merge branch 'main' into fix-gitlab-pending-status-mapping
2 parents 45a8846 + 9572f3b commit 357cb97

File tree

3 files changed

+17
-7
lines changed

3 files changed

+17
-7
lines changed

.golangci.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,22 @@ linters:
9090
path: _test\.go
9191
- path: pkg/resolve/resolve.go
9292
text: don't use `init` function
93+
- linters:
94+
- revive
95+
path: pkg/errors/
96+
text: "var-naming"
97+
- linters:
98+
- revive
99+
path: pkg/llm/context/
100+
text: "var-naming"
101+
- linters:
102+
- revive
103+
path: pkg/sort/
104+
text: "var-naming"
105+
- linters:
106+
- revive
107+
path: pkg/test/http/
108+
text: "var-naming"
93109
paths:
94110
- vendor
95111
- pkg/provider/gitea/structs

docs/content/docs/guide/cli.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -441,11 +441,7 @@ The payload is the JSON content of the webhook request, The headers file support
441441

442442
```bash
443443
#!/usr/bin/env bash
444-
curl -X POST "http://localhost:8080/" \
445-
-H "X-GitHub-Event: pull_request" \
446-
-H "Content-Type: application/json" \
447-
-H "User-Agent: GitHub-Hookshot/2d5e4d4" \
448-
-d @payload.json
444+
curl -X POST "http://localhost:8080/" -H "X-GitHub-Event: pull_request" -H "Content-Type: application/json" -H "User-Agent: GitHub-Hookshot/2d5e4d4" -d @payload.json
449445
```
450446

451447
#### Usage

docs/content/docs/install/github_webhook.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,7 @@ $ tkn pac create repo
135135
* Pull request
136136
* Pushes
137137

138-
{{< hint info >}}
139138
[Refer to this screenshot](/images/pac-direct-webhook-create.png) to verify you have properly configured the webhook.
140-
{{< /hint >}}
141139

142140
* Click on **Add webhook**
143141

0 commit comments

Comments
 (0)