Skip PR title lint

This commit is contained in:
Prathamesh Musale 2025-11-03 16:00:29 +05:30
parent df3f5f6191
commit 5c8626487e
2 changed files with 14 additions and 5 deletions

View File

@ -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

View File

@ -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