Install
openclaw skills install auto-pr-mergerAutomatically checks out a GitHub PR, runs tests, retries fixes if tests fail, and merges the PR upon successful tests.
openclaw skills install auto-pr-mergerThis skill automates the workflow of checking out a GitHub PR, running tests, attempting to fix failures, and merging if successful.
node skills/auto-pr-merger/index.js --pr <PR_NUMBER_OR_URL> --test "<TEST_COMMAND>" [--retries <NUMBER>]
--pr: The PR number or URL (e.g., 123 or https://github.com/owner/repo/pull/123).--test: The command to run tests (e.g., npm test, pytest).--retries: (Optional) Number of times to attempt fixing the code if tests fail. Default: 3.gh CLI installed and authenticated.gh pr checkout.gh pr merge --merge --auto.