{"id":13474355,"url":"https://github.com/vijaykramesh/pr-lint-action","last_synced_at":"2026-01-26T13:16:10.895Z","repository":{"id":44106304,"uuid":"197827845","full_name":"vijaykramesh/pr-lint-action","owner":"vijaykramesh","description":"A GitHub Action that verifies your pull request contains a reference to a Jira ticket.","archived":false,"fork":false,"pushed_at":"2024-09-30T21:43:32.000Z","size":760,"stargazers_count":77,"open_issues_count":7,"forks_count":23,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-26T21:38:15.800Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/vijaykramesh.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":"2019-07-19T19:01:33.000Z","updated_at":"2025-01-22T10:54:01.000Z","dependencies_parsed_at":"2024-10-30T05:41:25.410Z","dependency_job_id":null,"html_url":"https://github.com/vijaykramesh/pr-lint-action","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/vijaykramesh/pr-lint-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vijaykramesh%2Fpr-lint-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vijaykramesh%2Fpr-lint-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vijaykramesh%2Fpr-lint-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vijaykramesh%2Fpr-lint-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vijaykramesh","download_url":"https://codeload.github.com/vijaykramesh/pr-lint-action/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vijaykramesh%2Fpr-lint-action/sbom","scorecard":{"id":921344,"data":{"date":"2025-08-11","repo":{"name":"github.com/vijaykramesh/pr-lint-action","commit":"14503c4dd5147540b5e0863a84b27fdc3627e39f"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.9,"checks":[{"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":"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":"Code-Review","score":1,"reason":"Found 1/8 approved changesets -- score normalized to 1","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":"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/eslint.yml:1","Warn: no topLevel permission defined: .github/workflows/test.yaml: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":"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/eslint.yml:7: update your workflow using https://app.stepsecurity.io/secureworkflow/vijaykramesh/pr-lint-action/eslint.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yaml:7: update your workflow using https://app.stepsecurity.io/secureworkflow/vijaykramesh/pr-lint-action/test.yaml/master?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:11: pin your Docker image by updating node:slim to node:slim@sha256:9b741b28148b0195d62fa456ed84dd6c953c1f17a3761f3e6e6797a754d9edff","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 containerImage 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":"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":"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":"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 28 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":"10 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","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-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-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q"],"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-25T03:31:30.354Z","repository_id":44106304,"created_at":"2025-08-25T03:31:30.354Z","updated_at":"2025-08-25T03:31:30.354Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28779226,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T11:46:04.308Z","status":"ssl_error","status_checked_at":"2026-01-26T11:46:02.664Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":[],"created_at":"2024-07-31T16:01:11.754Z","updated_at":"2026-01-26T13:16:10.867Z","avatar_url":"https://github.com/vijaykramesh.png","language":"JavaScript","funding_links":[],"categories":["Community Resources"],"sub_categories":["Pull Requests"],"readme":"# pr-lint-action\n\nA GitHub Action that verifies your pull request contains a reference to a ticket.  You can use this to (optionally) check:\n\n* The PR title contains `[PROJ-1234]`\n* The branch name contains `PROJ-1234` or `PROJ_1234`\n* Each commit contains `[PROJ-1234]`\n\n\n\n## Usage\n\nAdd `.github/workflows/main.yml` with the following:\n\n```\nname: PR Lint\non: [pull_request]\njobs:\n  pr_lint:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: vijaykramesh/pr-lint-action@v2.3\n    env:\n      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n```\n\nSee [pr-lint-action-example-repo](https://github.com/vijaykramesh/pr-lint-action-example-repo) for an example of usage.\n\n\n## Configuration\n\nConfigure by creating a `.github/pr-lint.yml` file:\n\nFor example:\n\n```yml\nprojects: ['PROJ', 'ABC']\ncheck_title: true\ncheck_branch: true\ncheck_commits: true\nignore_case: true\nrequire_brackets: true\n```\n\n## Local Development\n\nRun `yarn install` to install any dependencies needed.\n\n## Testing\n\nRun `yarn test` to test:\n\n```\n PASS  ./index.test.js\n  pr-lint-action\n    ✓ fails if check_title is true and title does not match (15 ms)\n    ✓ fails if bad title and branch (14 ms)\n    ✓ passes if check_title is false and title does not match (6 ms)\n    ✓ passes if check_title is true and title matches (5 ms)\n    ✓ fails if check_branch is true and branch does not match (5 ms)\n    ✓ passes if check_branch is false and branch does not match (5 ms)\n    ✓ passes if check_branch is true and branch matches (5 ms)\n    ✓ passes if check_commits is true and all commits match (7 ms)\n    ✓ fails if check_commits is true and some commits do not match (9 ms)\n    ✓ passes if check_commits is false and all commits match (4 ms)\n    ✓ passes if check_commits is false and some commits do not match (5 ms)\n    ✓ fails if check_branch and check_title is true and title does not match (7 ms)\n    ✓ fails if check_branch and check_title is true and title does not match (8 ms)\n    ✓ passes if check_branch and check_title is true and both match (10 ms)\n    ✓ passes if ignore_case and lower case title/branch (6 ms)\n    ✓ passes if ignore_case and lower case commits (7 ms)\n    ✓ fails if not ignore_case and lower case title/branch (4 ms)\n    ✓ passes if require_brakcets is false and title matches without brackets (5 ms)\n    ✓ fails if require_brackets is true or default and title matches without brackets (4 ms)\n```\n\n## Lint\n\nRun `yarn lint` to run ESLint.  Run `yarn lint --fix` to fix any issues that it can.\n\n## Contributing\n\nIf you have other things worth automatically checking for in your PRs, please submit a pull request.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvijaykramesh%2Fpr-lint-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvijaykramesh%2Fpr-lint-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvijaykramesh%2Fpr-lint-action/lists"}