mirror of
https://github.com/rustfs/rustfs.git
synced 2026-03-17 14:24:08 +00:00
1.1 KiB
1.1 KiB
GitHub Workflow Instructions
Applies to .github/ and repository pull-request operations.
Pull Requests
- PR titles and descriptions must be in English.
- Use
.github/pull_request_template.mdfor every PR body. - Keep all template section headings.
- Use
N/Afor non-applicable sections. - Include verification commands in the PR details.
- For
gh pr createandgh pr edit, always write markdown body to a file and pass--body-file. - Do not use multiline inline
--body; backticks and shell expansion can corrupt content or trigger unintended commands. - Recommended pattern:
cat > /tmp/pr_body.md <<'EOF'...markdown...EOFgh pr create ... --body-file /tmp/pr_body.md
CI Alignment
When changing CI-sensitive behavior, keep local validation aligned with .github/workflows/ci.yml.
Current test-and-lint gate includes:
cargo nextest run --all --exclude e2e_testcargo test --all --doccargo fmt --all --checkcargo clippy --all-targets --all-features -- -D warnings./scripts/check_layer_dependencies.sh