ci: skip jobs a change cannot affect and pin Scorecard to v2.5.0
SA
2m ago+118+118+012345678901234567890123456789-47-47-01234567890123456789
- Scorecard (fixes main):
ossf/scorecard-actionv2.6.0's image index references an amd64 manifest that ghcr.io returns 404 for, so every run on main fails at the docker pull. Pin back to v2.5.0 and have Dependabot ignore 2.6.0. - CI path filters: PRs/pushes touching only
docs/,helm/or Markdown skip the CI workflow.docs/example_plugins/still triggers it, because the e2e suite builds that plugin. Docs Validation moves to its owndocs.yml, triggered bydocs/**. - CodeQL: PRs that change only
.md/.mdxskip the scan. Pushes to main are not filtered, so every base commit keeps an analysis. - Test-only PRs: changes limited to
*_test.go,tests/ortestdata/skip Dashboard, Build and Vulnerability Scan. Pushes to main still run them.
No required status checks are configured, so skipped jobs don't block merging.
Summary by CodeRabbit
- Documentation
- Documentation is automatically validated when documentation files or the validation workflow change.
- Chores
- Application checks skip changes limited to documentation, Helm files, Markdown, or test-only files; documentation examples remain included in application checks.
- CodeQL pull request analysis excludes documentation and Markdown changes; push analysis remains unchanged.
- Scorecard analysis uses an earlier action version, and Dependabot ignores version 2.6.0 of that action.