{"id":15529743,"url":"https://github.com/mheap/action-run","last_synced_at":"2026-02-03T08:03:44.310Z","repository":{"id":42921236,"uuid":"245989731","full_name":"mheap/action-run","owner":"mheap","description":"Run your Node.js based actions locally","archived":false,"fork":false,"pushed_at":"2024-08-30T04:24:34.000Z","size":180,"stargazers_count":2,"open_issues_count":9,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-24T18:47:18.188Z","etag":null,"topics":["cli"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mheap.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-09T09:11:06.000Z","updated_at":"2023-11-20T16:18:03.000Z","dependencies_parsed_at":"2025-03-05T15:41:53.565Z","dependency_job_id":null,"html_url":"https://github.com/mheap/action-run","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/mheap/action-run","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mheap%2Faction-run","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mheap%2Faction-run/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mheap%2Faction-run/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mheap%2Faction-run/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mheap","download_url":"https://codeload.github.com/mheap/action-run/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mheap%2Faction-run/sbom","scorecard":{"id":639945,"data":{"date":"2025-08-11","repo":{"name":"github.com/mheap/action-run","commit":"380e5b9211cab8a7d90a8f8a9b7107c6005fcd4f"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.4,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 0/13 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Pinned-Dependencies","score":3,"reason":"dependency not pinned by hash detected -- score normalized to 3","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/mheap/action-run/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/mheap/action-run/release.yml/master?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   1 out of   1 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/release.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 3 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"18 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-ww39-953v-wcq6","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-pq67-2wwv-3xjx","Warn: Project is vulnerable to: GHSA-8cj5-5rvv-wf4v","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-21T10:26:22.482Z","repository_id":42921236,"created_at":"2025-08-21T10:26:22.482Z","updated_at":"2025-08-21T10:26:22.482Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29037751,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-03T06:39:36.383Z","status":"ssl_error","status_checked_at":"2026-02-03T06:39:32.787Z","response_time":96,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli"],"created_at":"2024-10-02T11:19:47.460Z","updated_at":"2026-02-03T08:03:44.289Z","avatar_url":"https://github.com/mheap.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# action-run\n\nRun any GitHub Actions that expose a function in `module.exports`, or any [actions-toolkit](https://github.com/JasonEtco/actions-toolkit) based GitHub actions locally.\n\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\n[![Version](https://img.shields.io/npm/v/action-run.svg)](https://npmjs.org/package/action-run)\n[![Downloads/week](https://img.shields.io/npm/dw/action-run.svg)](https://npmjs.org/package/action-run)\n[![License](https://img.shields.io/npm/l/action-run.svg)](https://github.com/mheap/action-run/blob/master/package.json)\n\n* [Usage](#usage)\n* [Configuration](#configuration)\n* [Providing Inputs](#providing-inputs)\n* [Available Configuration](#available-configuration)\n\n# Installation\n\n```\nnpm install -g action-run\n```\n\n# Usage\n\nProvide the event to trigger (e.g. `pull_request`, see https://developer.github.com/v3/activity/events/types/ for a full list) and a path to your node based action, and we'll take care of the rest.\n\n```\naction-run \u003cevent\u003e \u003c/path/to/action.js\u003e\n```\n\n# Configuration\n\nYou can specify any of the `GITHUB_*` environment variables required using either environment variables or command flags.\n\n\u003e **IMPORTANT:** action-run does *not* allow you to set a `GITHUB_TOKEN`. If your action needs to interact with the API, you'll need to set this yourself by running `export GITHUB_TOKEN=\"\u003ctoken here\u003e\"`\n\nHere's how you'd test a new issue comment being added using flags:\n\n```\naction-run -e ./issue_payload.json -u some-actor issue_comment \u003c/path/to/action.js\u003e\n```\n\nAlternatively, you can set those values as environment variables:\n\n```\nexport GITHUB_EVENT_PATH=./issue_payload.json\nexport GITHUB_ACTOR=some-actor\naction-run issue_comment /path/to/action.js\n```\n\nTo see the current configuration, you can run `action-run EVENT_NAME --debug`\n\n```\nName              Value\nGITHUB_WORKFLOW   Toolkit Demo Workflow\nGITHUB_ACTION     Demo Action\nGITHUB_ACTOR      mheap\nGITHUB_REPOSITORY mheap/action-run\nGITHUB_EVENT_NAME event\nGITHUB_EVENT_PATH /var/folders/0t/yw3sznns1_5d8jj404h3cbpw0000gn/T/tmp-236061PM5kY7WZhTb\nGITHUB_WORKSPACE  ./\nGITHUB_SHA        67a4e61884902fd9291209f9403baf21c4cd72c5\n```\n\n# Providing Inputs\n\nIn addition to the `GITHUB_*` environment variables, you may want to provide inputs to your action. You can provide the `-i` flag multiple times to define your inputs\n\n```\naction-run \u003cevent\u003e \u003c/path/to/action.js\u003e -i trusted=mheap -i limit=5\n```\n\nAny defined inputs will also be shown when running `action-run EVENT_NAME --debug`\n\n```\nName              Value\n...snip...\nINPUT_TRUSTED     mheap\nINPUT_LIMIT       5\n```\n\n# Available configuration\n\nYou can run `--help` to see the available flags\n\n```\nUSAGE\n  $ action-run EVENT_NAME ACTION\n\nOPTIONS\n  -a, --action=action          [default: Demo Action] Action name\n  -d, --workspace=workspace    [default: ./] Path to where the repo is checked out\n  -e, --event_path=event_path  Path to a JSON file containing event data\n  -i, --input=input            Define an input value\n  -r, --repository=repository  [default: mheap/action-run] Repository (in repo/name format)\n  -s, --sha=sha                [default: 67a4e61884902fd9291209f9403baf21c4cd72c5] Commit SHA\n  -u, --actor=actor            [default: mheap] Actor name\n  -v, --version                show CLI version\n  -w, --workflow=workflow      [default: Toolkit Demo Workflow] Workflow name\n  --debug                      Show the current configuration\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmheap%2Faction-run","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmheap%2Faction-run","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmheap%2Faction-run/lists"}