{"id":46329199,"url":"https://github.com/bit-tasks/tag-export","last_synced_at":"2026-03-04T17:05:40.478Z","repository":{"id":176615455,"uuid":"659229916","full_name":"bit-tasks/tag-export","owner":"bit-tasks","description":"Bit tag and export task for CI/CD","archived":false,"fork":false,"pushed_at":"2025-08-18T14:16:14.000Z","size":1418,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-18T16:10:57.275Z","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}},"created_at":"2023-06-27T11:50:35.000Z","updated_at":"2025-08-18T14:16:17.000Z","dependencies_parsed_at":"2023-10-29T04:34:02.904Z","dependency_job_id":"d39ca88b-ac68-4544-9fe5-9ee9070dbb93","html_url":"https://github.com/bit-tasks/tag-export","commit_stats":null,"previous_names":["bit-tasks/tag-export"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/bit-tasks/tag-export","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bit-tasks%2Ftag-export","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bit-tasks%2Ftag-export/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bit-tasks%2Ftag-export/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bit-tasks%2Ftag-export/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bit-tasks","download_url":"https://codeload.github.com/bit-tasks/tag-export/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bit-tasks%2Ftag-export/sbom","scorecard":{"id":239835,"data":{"date":"2025-08-11","repo":{"name":"github.com/bit-tasks/tag-export","commit":"b457a94f4e1b4ce58ca5e513b5e20dfd426bc2d5"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.1,"checks":[{"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: topLevel 'contents' permission set to 'write': .github/workflows/main.yml:8","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":"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":"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":"Maintained","score":10,"reason":"18 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/18 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":"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:22: update your workflow using https://app.stepsecurity.io/secureworkflow/bit-tasks/tag-export/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/tag-export/main.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/main.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/bit-tasks/tag-export/main.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pr-build.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/bit-tasks/tag-export/pr-build.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/pr-build.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/bit-tasks/tag-export/pr-build.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/pr-build.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/bit-tasks/tag-export/pr-build.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":"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":"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 19 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.868Z","repository_id":176615455,"created_at":"2025-08-17T06:29:29.868Z","updated_at":"2025-08-17T06:29:29.868Z"},"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:39.849Z","updated_at":"2026-03-04T17:05:40.471Z","avatar_url":"https://github.com/bit-tasks.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bit Tag and Export for CI/CD Pipelines\n\nBig Tag and Export to Remote Scope\n\n# GitHub Actions\n\nThis task executes `bit ci merge` inside the workspace directory.\n\n_Important_: `bit-tasks/tag-export@v3|v4` requires Bit version `^1.12.45`, if you need to use a lower version, use `bit-tasks/tag-export@v2`.\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### `build`\n\n**Optional** Build the components before tagging.\n\n### `strict`\n\n**Optional** Enable strict mode for tagging.\n\n### `increment`\n\n**Optional** Type of increment for versioning. Available options:\n\n- `major` - Major version increment\n- `premajor` - Pre-major version increment\n- `minor` - Minor version increment\n- `preminor` - Pre-minor version increment\n- `patch` - Patch version increment (default)\n- `prepatch` - Pre-patch version increment\n- `prerelease` - Pre-release version increment\n\n### `prerelease-id`\n\n**Optional** Pre-release identifier (e.g., \"alpha\", \"beta\", \"rc\").\n\n### `increment-by`\n\n**Optional** Increment by a specific number.\n\n## Tag version\n\nThis task executes `bit ci merge` to tag and export components. The versioning logic is based on the **last merged pull request** in the repository.\n\n### Version Detection Priority\n\nThe task detects version keywords in the following order:\n\n1. **Pull Request Labels** - Version labels on the last merged PR\n2. **Pull Request Title** - Version keywords in the PR title\n3. **Input Parameters** - Fallback to the `increment` and `prerelease-id` inputs\n\n### Supported Version Keywords\n\nYou can specify version keywords using square brackets in either PR labels or PR title:\n\n- `[major]` - Major version increment\n- `[minor]` - Minor version increment\n- `[patch]` - Patch version increment (default)\n- `[pre-release:\u003cflag\u003e]` - Pre-release version with custom identifier (e.g., `[pre-release:beta]`, `[pre-release:alpha]`)\n\n### Examples\n\n**Pull Request Labels:**\n\n- Add a label named `[major]` to trigger a major version bump\n- Add a label named `[pre-release:rc]` to create a release candidate\n\n**Pull Request Title:**\n\n- \"Update component with breaking changes [major]\"\n- \"Add new feature [minor]\"\n- \"Fix bug [patch]\"\n- \"Release candidate [pre-release:beta]\"\n\n### Fallback Behavior\n\nIf no version keywords are detected in the last merged PR, the task will use the input parameters:\n\n- `increment` parameter (e.g., `major`, `minor`, `patch`)\n- `prerelease-id` parameter for pre-release versions\n\n**Note:** The task processes the last merged pull request, not the current one. Make sure to add version keywords to the PR that will be merged before this task runs.\n\n## Example usage\n\n**Note:** Use `bit-task/init@v2` as a prior step in your action before running `bit-tasks/tag-export@v4`.\n\n```yaml\nname: Test Bit Tag and Export\non:\n  pull_request:\n    branches:\n      - main\n    types: [closed]\npermissions:\n  pull-requests: write # Ensure write permission for pull requests\njobs:\n  release:\n    runs-on: ubuntu-latest\n    if: ${{ github.event.pull_request.merged }}\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 Tag and Export\n        uses: bit-tasks/tag-export@v4\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\" v4 --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%2Ftag-export","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbit-tasks%2Ftag-export","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbit-tasks%2Ftag-export/lists"}