meblabs/NpmPullRequest

GitHub action for MEBlabs pull requests in npm projects

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jun 25, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: meblabs/npm-pull-request-action@22f45109a0a3764bb772c7cb6bdc476b91725609 # v4

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
prettierCheck and format code with Prettiernotrue
eslintCheck code with ESLint and reviewdognotrue
testRun the configured npm test scriptnotrue
test-scriptA custom npm script to run testsnotest
test-argsArguments appended after `--` to the test script. Defaults to the Jest CLI flags that produce the report consumed by the publish step. Set to an empty string when your custom test-script does not accept these flags (the Jest report is then skipped).no--ci --json --outputFile=jest-results.json
auditRun npm audit fix --package-lock-only and commit package-lock.json changes before testsnotrue
audit-levelMinimum npm audit level used by npm audit fix: low, moderate, high, criticalnohigh
tokenPersonal access token used by reviewdog to comment on pull requestsno
github-tokenToken used for checkout push and Jest report commentsno
checkoutFlag to indicate whether the repo should be checked outnotrue
node-versionPick the node version to use [20.x, 22.x, ...]no22.x
bot_nameBot username used for automatic commitsnoMeblabsBot
bot_emailBot email used for automatic commitsnogithub@meblabs.com
namedescription
prettier-changedtrue if Prettier changed files and an automatic commit was pushed
audit-changedtrue if npm audit changed package-lock.json and an automatic commit was pushed
current-head-shaCurrent local HEAD SHA at the end of the action