{"id":18626394,"url":"https://github.com/drbarnabus/pullrequest-automation","last_synced_at":"2026-05-03T22:33:20.919Z","repository":{"id":58530711,"uuid":"530759897","full_name":"DrBarnabus/pullrequest-automation","owner":"DrBarnabus","description":"GitHub Pull Request process and task automation","archived":false,"fork":false,"pushed_at":"2023-02-20T13:52:32.000Z","size":1094,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-14T11:58:05.528Z","etag":null,"topics":["automation","bot","branch","github","github-actions","label","labeller","labels","protection","pull-request","pull-requests"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DrBarnabus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2022-08-30T17:26:12.000Z","updated_at":"2022-09-11T19:11:47.000Z","dependencies_parsed_at":"2024-11-07T04:40:19.269Z","dependency_job_id":"e6152a0b-c0fd-4591-9274-a79e58282bfa","html_url":"https://github.com/DrBarnabus/pullrequest-automation","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/DrBarnabus/pullrequest-automation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrBarnabus%2Fpullrequest-automation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrBarnabus%2Fpullrequest-automation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrBarnabus%2Fpullrequest-automation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrBarnabus%2Fpullrequest-automation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DrBarnabus","download_url":"https://codeload.github.com/DrBarnabus/pullrequest-automation/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrBarnabus%2Fpullrequest-automation/sbom","scorecard":{"id":42115,"data":{"date":"2025-08-11","repo":{"name":"github.com/DrBarnabus/pullrequest-automation","commit":"2dcf57330974bfd422eacc20d0f9a7a198757247"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.8,"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'actions' permission set to 'read': .github/workflows/codeql.yml:16","Info: jobLevel 'contents' permission set to 'read': .github/workflows/codeql.yml:17","Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Warn: no topLevel permission defined: .github/workflows/codeql.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":"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":"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":"Code-Review","score":0,"reason":"Found 0/30 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":"Pinned-Dependencies","score":1,"reason":"dependency not pinned by hash detected -- score normalized to 1","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/DrBarnabus/pullrequest-automation/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/DrBarnabus/pullrequest-automation/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/DrBarnabus/pullrequest-automation/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/DrBarnabus/pullrequest-automation/codeql.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/DrBarnabus/pullrequest-automation/codeql.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/DrBarnabus/pullrequest-automation/codeql.yml/main?enable=pin","Info:   0 out of   6 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":"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":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"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":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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":7,"reason":"SAST tool detected but not run on all commits","details":["Info: SAST configuration detected: CodeQL","Warn: 0 commits out of 1 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":5,"reason":"5 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-h5c3-5r3r-rr8q","Warn: Project is vulnerable to: GHSA-rmvr-2pp2-xj38","Warn: Project is vulnerable to: GHSA-xx4v-prfh-6cgc","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-f9xv-q969-pqx4"],"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-14T21:48:39.685Z","repository_id":58530711,"created_at":"2025-08-14T21:48:39.685Z","updated_at":"2025-08-14T21:48:39.685Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274250508,"owners_count":25249396,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-09T02:00:10.223Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["automation","bot","branch","github","github-actions","label","labeller","labels","protection","pull-request","pull-requests"],"created_at":"2024-11-07T04:37:53.100Z","updated_at":"2026-05-03T22:33:20.887Z","avatar_url":"https://github.com/DrBarnabus.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DrBarnabus/pullrequest-automation Action\n#### GitHub Pull Request process and task automation\n\nA GitHub Action to automate a number of common pull request processes/tasks in a GitHub Repository.\n\n## Example Configuration\n\n`.github/pullrequest-automation.yml'\n```yaml\nmodules:\n  approvalLabeller:\n    enabled: true\n    requiredApprovals: 1\n    labelsToApply:\n      approved: approved\n      rejected: rejected\n      needsReview: needs-review\n      draft: still-in-progress # optional\n  branchLabeller:\n    enabled: true\n    rules:\n    - baseRef: main\n      headRef: development # optional\n      labelToApply: development-to-main\n    - baseRef: release/.* # Regular Expression Supported\n      headRef: feature/.* # Regular Expression Supported\n  reviewerExpander:\n    enabled: true\ncommands:\n  mergeSafety:\n    enabled: true\n    triggers: # single or list\n    - Safe to merge? # default if no specified\n    branchesToProtect:\n    - baseRef: development\n      comparisonBaseRef: main\n      comparisonHeadRef: development\n```\n\n## Recommended Workflow Setup\n\n`.github/workflows/pullrequest-automation.yml`\n```yaml\nname: Pull Request Automation\non:\n  pull_request_target:\n    types: [labelled, unlabelled, opened, edited, reopened, synchronize, converted_to_draft, ready_for_review, review_requested]\n  pull_request_review:\n    types: [submitted, edited, dismissed]\n  issue_comment:\n    types: [created]\n\njobs:\n  process:\n    name: Process\n    runs-on: ubuntu-latest\n    steps:\n    - uses: DrBarnabus/pullrequest-automation@v3 # latest matching major version 'v3' or specific version 'v2.4.1' or branch 'main'\n      with:\n        github-token: ${{ secrets.GITHUB_TOKEN }}\n        config-ref: main\n\n```\n\n### Workflow Parameters\n\n- __github-token__ - The GitHub API Token, for example `${{ secrets.GITHUB_TOKEN }}` when not using GitHub App Impersonation.\n- __github-app-id__ - When using GitHub App Impersonation this must be the ID of the GitHub App provided during registration.\n- __github-app-key__ - When using GitHub App Impersonation this must be a base64 encoded PEM key file with the secret generated for the GitHub App.\n- __config-path__ - Optional override for the path to the config file. Defaults to `.github/pullrequest-automation.yml`\n- __config-ref__ - Optional override for the branch/tag/commit to load the config from. Recommended to set to `main` but defaults to the commit in the PR if not set.\n\n### Label Sync\n\nIt's strongly recommended especially if configuring for multiple repos to make use of [label-sync](https://github.com/DrBarnabus/label-sync) to quickly and easily create/manage labels via a configuration file in the repo.\n\n## v3 Breaking Changes\n\nSee [v3-CHANGES](./v3-CHANGES.md)\n\n# License\n\nLicensed under [MIT](./LICENSE)\n\nCopyright (c) 2022 DrBarnabus\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrbarnabus%2Fpullrequest-automation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrbarnabus%2Fpullrequest-automation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrbarnabus%2Fpullrequest-automation/lists"}