Files
velero/.github/workflows/pr-linter-check.yml
Shubham Pampattiwar 2edf8f8260 Remove guards from e2e-test-kind, pr-linter-check, nightly-trivy-scan
Per review feedback, these workflows are useful on forks:
- e2e-test-kind: tests pass on downstream forks
- pr-linter-check: keeps lint up to date for upstream-bound features
- nightly-trivy-scan: wanted in downstream forks

Also remove changelog file per reviewer request.

Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com>
2026-07-14 12:36:01 -07:00

33 lines
786 B
YAML

name: Pull Request Linter Check
on:
pull_request:
# Do not run when the change only includes these directories.
paths-ignore:
- "site/**"
- "design/**"
- "**/*.md"
jobs:
get-go-version:
uses: ./.github/workflows/get-go-version.yaml
with:
ref: ${{ github.event.pull_request.base.ref }}
build:
name: Run Linter Check
runs-on: ubuntu-latest
needs: get-go-version
steps:
- name: Check out the code
uses: actions/checkout@v6
- name: Set up Go version
uses: actions/setup-go@v6
with:
go-version: ${{ needs.get-go-version.outputs.version }}
- name: Linter check
uses: golangci/golangci-lint-action@v9
with:
version: v2.12.0
args: --verbose