From 5c8626487e8a8dba26c9b6c5c195d756dd769e98 Mon Sep 17 00:00:00 2001 From: Prathamesh Musale Date: Mon, 3 Nov 2025 16:00:29 +0530 Subject: [PATCH] Skip PR title lint --- .github/workflows/lint-pr.yml | 15 ++++++++++----- .github/workflows/lint.yml | 4 ++++ 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/.github/workflows/lint-pr.yml b/.github/workflows/lint-pr.yml index 1802716..94853be 100644 --- a/.github/workflows/lint-pr.yml +++ b/.github/workflows/lint-pr.yml @@ -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 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index d0a0783..5d05c7e 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -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