chore: fix CI/CD workflow linter config and documentation
Linter Configuration Updates: Add version: 2 to .golangci.yml for golangci-lint v2 compatibility Scope errcheck exclusions to test files only via path-based rules Maintain production code error checking while allowing test flexibility CI/CD Documentation: Fix CodeQL action version comment in security-pr.yml (v3.28.10 → v4) Create workflow modularization specification (docs/plans/workflow_modularization_spec.md) Document GitHub environment protection setup for releases Verification: Validated linter runs successfully with properly scoped rules Confirmed all three workflows (playwright, security-pr, supply-chain-pr) are properly modularized
This commit is contained in:
2
.github/workflows/security-pr.yml
vendored
2
.github/workflows/security-pr.yml
vendored
@@ -213,7 +213,7 @@ jobs:
|
||||
|
||||
- name: Upload Trivy SARIF to GitHub Security
|
||||
if: steps.check-artifact.outputs.artifact_exists == 'true'
|
||||
# github/codeql-action v3.28.10
|
||||
# github/codeql-action v4
|
||||
uses: github/codeql-action/upload-sarif@a2d9de63c2916881d0621fdb7e65abe32141606d
|
||||
with:
|
||||
sarif_file: 'trivy-binary-results.sarif'
|
||||
|
||||
Reference in New Issue
Block a user