Skip PR title lint
This commit is contained in:
parent
df3f5f6191
commit
5c8626487e
15
.github/workflows/lint-pr.yml
vendored
15
.github/workflows/lint-pr.yml
vendored
@ -1,11 +1,16 @@
|
||||
name: "Lint PR"
|
||||
|
||||
# Disabled for the gitea fork - needs a GITHUB_TOKEN
|
||||
# on:
|
||||
# pull_request_target:
|
||||
# types:
|
||||
# - opened
|
||||
# - edited
|
||||
# - synchronize
|
||||
|
||||
# Only manual trigger
|
||||
on:
|
||||
pull_request_target:
|
||||
types:
|
||||
- opened
|
||||
- edited
|
||||
- synchronize
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
4
.github/workflows/lint.yml
vendored
4
.github/workflows/lint.yml
vendored
@ -12,6 +12,7 @@ permissions:
|
||||
# pull-requests: read
|
||||
|
||||
jobs:
|
||||
# TODO: Investigate and fix lint errors (failing upstream as well)
|
||||
golangci:
|
||||
name: golangci-lint
|
||||
runs-on: ubuntu-latest
|
||||
@ -26,6 +27,7 @@ jobs:
|
||||
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
|
||||
version: latest
|
||||
only-new-issues: true
|
||||
|
||||
govulncheck:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
@ -46,6 +48,8 @@ jobs:
|
||||
if: env.GIT_DIFF
|
||||
run: |
|
||||
make govulncheck
|
||||
|
||||
# TODO: Investigate and fix lint errors (failing upstream as well)
|
||||
lint-markdown:
|
||||
name: Lint markdown
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Loading…
Reference in New Issue
Block a user