{"id":46329284,"url":"https://github.com/bit-tasks/pull-request","last_synced_at":"2026-03-04T17:05:44.092Z","repository":{"id":178689757,"uuid":"660092739","full_name":"bit-tasks/pull-request","owner":"bit-tasks","description":"Build pull request and update lane task for CI/CD","archived":false,"fork":false,"pushed_at":"2025-09-03T16:58:57.000Z","size":1521,"stargazers_count":1,"open_issues_count":3,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-05T18:05:17.117Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/bit-tasks.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-06-29T08:21:02.000Z","updated_at":"2025-09-03T16:58:37.000Z","dependencies_parsed_at":"2024-01-30T12:25:03.327Z","dependency_job_id":"188539e4-29a5-4fac-a34b-a14343e22d21","html_url":"https://github.com/bit-tasks/pull-request","commit_stats":null,"previous_names":["bit-tasks/pull-request"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/bit-tasks/pull-request","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bit-tasks%2Fpull-request","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bit-tasks%2Fpull-request/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bit-tasks%2Fpull-request/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bit-tasks%2Fpull-request/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bit-tasks","download_url":"https://codeload.github.com/bit-tasks/pull-request/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bit-tasks%2Fpull-request/sbom","scorecard":{"id":239834,"data":{"date":"2025-08-11","repo":{"name":"github.com/bit-tasks/pull-request","commit":"37e84e207181d3b08884328cc5042ff25b551f04"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.6,"checks":[{"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":"Maintained","score":4,"reason":"5 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 4","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":"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":1,"reason":"Found 2/19 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":"Token-Permissions","score":10,"reason":"GitHub workflow tokens follow principle of least privilege","details":["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":"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/main.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/bit-tasks/pull-request/main.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/main.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/bit-tasks/pull-request/main.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/main.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/bit-tasks/pull-request/main.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/with-docker.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/bit-tasks/pull-request/with-docker.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/with-docker.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/bit-tasks/pull-request/with-docker.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/with-docker.yml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/bit-tasks/pull-request/with-docker.yml/main?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   4 third-party GitHubAction 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":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 'main'"],"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":"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 20 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":"14 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-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67mh-4wv8-2f99","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-76c9-3jph-rj3q","Warn: Project is vulnerable to: GHSA-7fh5-64p2-3v2j","Warn: Project is vulnerable to: GHSA-x7hr-w5r2-h6wg","Warn: Project is vulnerable to: GHSA-gcx4-mw62-g8wm","Warn: Project is vulnerable to: GHSA-w5p7-h5w8-2hfq","Warn: Project is vulnerable to: GHSA-9crc-q9x8-hgqq","Warn: Project is vulnerable to: GHSA-4v9v-hfq4-rm2v","Warn: Project is vulnerable to: GHSA-9jgg-88mc-972h"],"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-17T06:29:29.411Z","repository_id":178689757,"created_at":"2025-08-17T06:29:29.411Z","updated_at":"2025-08-17T06:29:29.411Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30086529,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T15:40:14.053Z","status":"ssl_error","status_checked_at":"2026-03-04T15:40:13.655Z","response_time":59,"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":[],"created_at":"2026-03-04T17:05:44.008Z","updated_at":"2026-03-04T17:05:44.082Z","avatar_url":"https://github.com/bit-tasks.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Verify Components in a Pull Request for CI/CD Pipelines\n\nVerify the pull request along with the modifications for the Bit components.\n\n*Important*: `bit-tasks/pull-request@v3` requires Bit version `^1.11.42`, if you need to use a lower version, use `bit-tasks/pull-request@v2`.\n\n# GitHub Actions\n\nThis task creates a Bit lane and adds the component changes for you to verify any components inside a Pull request.\n\n## Inputs\n\n### `ws-dir`\n\n**Optional** The workspace directory path from the root. Default `\"Dir specified in Init Task or ./\"`.\n\n### `version-labels`\n\n**Optional:** When set to `true`, this task automatically creates the labels `component-name@major`, `component-name@minor` and `component-name@patch` in the repository for all new and modified components. The default value is `false`. Available in `bit-tasks/pull-request@v2` and later versions.\n\nBy default, the label is automatically created in the format `component-name@\u003cversion\u003e`. The complete component ID, including the organization and scope (e.g., `bit-tasks.test-scope/ui/hello-world`), is added to the label description. You can add these labels in the Pull Request to control version bumping:\n\n- `component-name@patch` - Forces a patch version bump.\n- `component-name@minor` - Forces a minor version bump.\n- `component-name@major` - Forces a major version bump.\n\nWhen modifying or creating labels manually, supported version keywords for component-specific labels are: `major`, `minor`, and `patch`.\n\n#### Example:\n\n- By default, the `patch` label is automatically added as: `ui/button@patch`.\n- It can be modified manually to force a minor version bump: `ui/button@minor`.\n\n#### Global Version Overrides\n\nYou can create global version labels by adding the label directly enclosed within square brackets (e.g., `[major]`). Supported global version keywords are: `[major]`, `[minor]`, `[patch]`, and `pre-release:\u003cflag\u003e` (e.g., `pre-release:beta`).\n\n**Note:** If you are creating component labels manually, ensure that both the component version (`component-name@\u003cversion\u003e`) and the complete component ID (`org.scope/\u003ccomponent-id\u003e`, e.g., `bit-tasks.test-scope/ui/hello-world`) are added as the `name` and `description` of the Pull Request label.\n\n### `version-labels-color-major`\n\n**Optional** Use this parameter to define the color of automatically created major version labels in hexadecimal format (without the`#` prefix). The default value is `f0a09f` (a shade of purple). This is also available in bit-tasks/pull-request@v2 and later versions.\n\n### `version-labels-color-minor`\n\n**Optional** Use this parameter to define the color of automatically created minor version labels in hexadecimal format (without the`#` prefix). The default value is `f0e8bd` (a shade of purple). This is also available in bit-tasks/pull-request@v2 and later versions.\n\n### `version-labels-color-patch`\n\n**Optional** Use this parameter to define the color of automatically created patch version labels in hexadecimal format (without the`#` prefix). The default value is `c2e0c6` (a shade of purple). This is also available in bit-tasks/pull-request@v2 and later versions.\n\nFor example:\n\n```\n- name: Bit Pull Request\n  uses: bit-tasks/pull-request@v3\n  with:\n    version-labels: true\n    version-labels-color-major: 'C2E0C6'\n```\n\n### `clear-labels`\n\n**Optional** When set to `true`, this task automatically removes all Bit labels from the repository. The default value is `false`.\n\n### `build`\n\n**Optional** Build components in the Action Runner. The default value is `false`.\n\n### `strict`\n\n**Optional** Fail on warnings as well as errors. The default value is `false`.\n\n## Example usage\n\n**Note:** Use `bit-task/init@v1` as a prior step in your action before running `bit-tasks/pull-request@v2`.\n\n```yaml\nname: Test Bit Pull Request\non:\n  pull_request:\n    types:\n      - opened\n      - synchronize\npermissions:\n  pull-requests: write\njobs:\n  build:\n    runs-on: ubuntu-latest\n    env:\n      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      GIT_USER_NAME: ${{ secrets.GIT_USER_NAME }}\n      GIT_USER_EMAIL: ${{ secrets.GIT_USER_EMAIL }}\n      BIT_CONFIG_ACCESS_TOKEN: ${{ secrets.BIT_CONFIG_ACCESS_TOKEN }}\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n      - name: Initialize Bit\n        uses: bit-tasks/init@v1\n        with:\n          ws-dir: \"\u003cWORKSPACE_DIR_PATH\u003e\"\n      - name: Bit Pull Request\n        uses: bit-tasks/pull-request@v3\n        with:\n          version-labels: true # Optional: Add version labels to PR\n```\n\n# Contributor Guide\n\nSteps to create custom tasks in different CI/CD platforms.\n\n## GitHub Actions\n\nGo to the GithHub action task directory and build using NCC compiler. For example;\n\n```\nnpm install\nnpm run build\ngit commit -m \"Update task\"\ngit tag -a -m \"action release\" v3 --force\ngit push --follow-tags\n```\n\nFor more information, refer to [Create a javascript action](https://docs.github.com/en/actions/creating-actions/creating-a-javascript-action)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbit-tasks%2Fpull-request","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbit-tasks%2Fpull-request","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbit-tasks%2Fpull-request/lists"}