Add pull request template with testing checklist (#139)#211
Add pull request template with testing checklist (#139)#211shifa-khan wants to merge 1 commit intoopendatahub-io:mainfrom
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Central YAML (base), Organization UI (inherited) Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
✅ Files skipped from review due to trivial changes (1)
📝 WalkthroughWalkthroughAdds a GitHub Pull Request template at Estimated code review effort🎯 1 (Trivial) | ⏱️ ~4 minutes 🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In @.github/PULL_REQUEST_TEMPLATE.md:
- Line 14: The checklist item "[ ] Commits are signed (`git commit -s`)" is
misleading because `git commit -s` adds a DCO sign-off, not a cryptographic
signature; update that checklist entry to either say "signed-off (DCO) (`git
commit -s`)" or change the command to a signing flow such as "`git commit -S`"
depending on repository policy so the wording and command match; ensure the
updated text replaces the existing checklist line exactly to avoid confusion.
- Around line 13-24: Update the PR checklist to include the missing quality
gates: under the "All PRs" section add checkboxes for running `tox -e <type>`
(for relevant build types) and for running `pytest tests/ -v` with note to set
the appropriate `*_IMAGE` env vars (e.g., `BASE_IMAGE`, `PYTHON_IMAGE`) so CI
covers those gates; in the "Containerfile / image changes" section revert the
containerfile linting guidance to point to the canonical `tox -e lint` gate
(remove or deprecate `./scripts/lint-containerfile.sh`) and ensure the template
mentions using `./scripts/generate-containerfile.sh` and `./scripts/build.sh
<type>-<version>` as before; update the checklist text entries (headers "All
PRs" and "Containerfile / image changes") and command strings to reflect these
required checks.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Central YAML (base), Organization UI (inherited)
Review profile: CHILL
Plan: Pro Plus
Run ID: 2182fba5-1aaf-4bea-802e-5708192fe832
📒 Files selected for processing (1)
.github/PULL_REQUEST_TEMPLATE.md
Add .github/PULL_REQUEST_TEMPLATE.md with What/Why sections and a checklist covering signed commits, linting (ruff + Hadolint), template editing workflow, and container image standards. Checklist is split into items that apply to all PRs vs. Containerfile-specific changes. Closes opendatahub-io#139
Add .github/PULL_REQUEST_TEMPLATE.md with What/Why sections and a checklist covering signed commits, linting (ruff + Hadolint), template editing workflow, and container image standards. Checklist is split into items that apply to all PRs vs. Containerfile-specific changes.
Closes #139
Summary by CodeRabbit
:latesttags, and disallowing root (UID 0) users.