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