Repository navigation
feat: configure automatic PR merge behavior - #668
Conversation
|
Internal - Pull request - Continuous Integration - Test results Workflow run and full reports · Commit 5b0d598 Jobs: 7 success · 0 failure · 0 cancelled · 0 skipped · 0 abandoned. Test: 315 passed · 0 failed · 0 skipped. Test detailsTest resultsTest Results
Job results and report availability
Only this attempt is included. On partial reruns, rerun all producer jobs for complete reports. CodeQL findings remain in code scanning; other diagnostics remain in the job logs. |
|
Internal - Pull request - Continuous Integration - Code coverage Workflow run and full reports · Commit 5b0d598 Jobs: 7 success · 0 failure · 0 cancelled · 0 skipped · 0 abandoned. Coverage: 6 source report(s); percentages remain separate. Coverage detailsCoverage resultsci-reports-1-test-action-create-and-merge-pull-request-actions-create-and-merge-pull-request-e537876f-a65c-42ad-b93d-632867aa37f4/lcov.infoCoverage
Overall: 100.00% 🟢 ci-reports-1-test-action-distributions-actions-action-distributions-30c013f0-fab9-47ff-b9c5-498889f4437a/lcov.infoCoverage
Overall: 97.93% 🟢 ci-reports-1-test-action-lint-pull-request-title-actions-quality-lint-pull-request-title-a31cf507-da39-45de-9587-385392d67592/lcov.infoCoverage
Overall: 100.00% 🟢 ci-reports-1-test-action-need-fix-to-issue-actions-need-fix-to-issue-d12f8fe0-d2b0-422f-a0cb-c31da455336c/lcov.infoCoverage
Overall: 100.00% 🟢 ci-reports-1-test-action-parse-ci-reports-actions-quality-parse-ci-reports-9cd88135-e9e5-409f-9492-ef724d2010d7/lcov.infoCoverage
Overall: 95.39% 🟢 ci-reports-1-test-action-test-action-distribution-actions-quality-test-action-distribution-b94f62d9-7673-493d-9195-362bc6850d2d/lcov.infoCoverage
Overall: 100.00% 🟢 Job results and report availability
Only this attempt is included. On partial reruns, rerun all producer jobs for complete reports. CodeQL findings remain in code scanning; other diagnostics remain in the job logs. |
|
Internal - Pull request - Continuous Integration - Lint results Workflow run and full reports · Commit 5b0d598 Jobs: 7 success · 0 failure · 0 cancelled · 0 skipped · 0 abandoned. Lint: Collected diagnostics and Super-Linter summaries. Execution status is included in the job outcomes. Super-Linter detailsSuper-linter summary
All files and directories linted successfully For more information, see the GitHub Actions workflow run Powered by Super-linter Super-Linter details
Job results and report availability
Only this attempt is included. On partial reruns, rerun all producer jobs for complete reports. CodeQL findings remain in code scanning; other diagnostics remain in the job logs. |
056e536 to
fb4f2c0
Compare
Generated updates need to limit the committed paths and choose whether to request administrator merge privileges. Add two optional inputs while preserving the current behavior for existing callers:
bypass-branch-protectiondefaults totrue, and an emptyadd-pathsincludes all changes. Existing input definitions, defaults, outputs and merge strategies remain unchanged.Callers can explicitly set
bypass-branch-protection: "false"to use a normal merge. In that mode, a protection failure never escalates to administrator privileges. Always guard the created PR head with--match-head-commit, and fail if it changes before or during the merge.Move the existing merge script into the action's own source module for tests without GitHub mutations or new dependencies. Retain bounded retries and merge-output verification, add the standalone Node.js test workflow to the combined CI reports, and regenerate the README with CI Dokumentor.
Validation: 17 tests pass, covering the existing default, explicit enable/disable choices, protection failures, concurrent head changes, retry limits and verified merge outputs. The compatibility test failed against the previous proposed default and passes now. Existing public input definitions/defaults and outputs were compared with the base branch. JUnit/LCOV reporting, Biome, actionlint, zizmor, YAML and Markdown checks pass.
Consumer migration: neilime/php-css-lint#237 will use generation,
composer ci, then the shared action withadd-pathsandbypass-branch-protection: "false"after a stable release containing these additions. Existing consumers need no bypass-setting migration.