{"id":13469547,"url":"https://github.com/getsentry/craft","last_synced_at":"2026-04-02T13:38:45.450Z","repository":{"id":39850948,"uuid":"137485248","full_name":"getsentry/craft","owner":"getsentry","description":"The universal Sentry release CLI  🚀","archived":false,"fork":false,"pushed_at":"2026-03-26T11:49:59.000Z","size":8981,"stargazers_count":175,"open_issues_count":27,"forks_count":19,"subscribers_count":46,"default_branch":"master","last_synced_at":"2026-03-26T20:44:29.633Z","etag":null,"topics":["cli","craft","google-cloud-storage","npm","nuget","packaging","pypi","release-automation","rust-crate","sentry","sentry-release-registry","tag-production","typescript"],"latest_commit_sha":null,"homepage":"https://getsentry.github.io/craft/","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/getsentry.png","metadata":{"funding":{"custom":["https://sentry.io/pricing/","https://sentry.io/"]},"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2018-06-15T12:30:25.000Z","updated_at":"2026-03-26T11:49:37.000Z","dependencies_parsed_at":"2026-02-11T21:03:12.182Z","dependency_job_id":null,"html_url":"https://github.com/getsentry/craft","commit_stats":{"total_commits":787,"total_committers":33,"mean_commits":"23.848484848484848","dds":0.6416772554002541,"last_synced_commit":"3a136a5dbd40e9b2e7fe7ae7799cfbf71784108e"},"previous_names":[],"tags_count":225,"template":false,"template_full_name":null,"purl":"pkg:github/getsentry/craft","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getsentry%2Fcraft","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getsentry%2Fcraft/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getsentry%2Fcraft/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getsentry%2Fcraft/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/getsentry","download_url":"https://codeload.github.com/getsentry/craft/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getsentry%2Fcraft/sbom","scorecard":{"id":424586,"data":{"date":"2025-08-11","repo":{"name":"github.com/getsentry/craft","commit":"1397609d89066eeff0a818aac448f1e0ec5a855e"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":6.3,"checks":[{"name":"Code-Review","score":3,"reason":"Found 9/27 approved changesets -- score normalized to 3","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":7,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'contents' permission set to 'read': .github/workflows/build.yml:13","Info: jobLevel 'contents' permission set to 'read': .github/workflows/build.yml:39","Info: jobLevel 'contents' permission set to 'read': .github/workflows/enforce-license-compliance.yml:13","Info: jobLevel 'contents' permission set to 'read': .github/workflows/image.yml:12","Info: jobLevel 'contents' permission set to 'read': .github/workflows/lint.yml:11","Warn: jobLevel 'contents' permission set to 'write': .github/workflows/release.yml:16","Warn: no topLevel permission defined: .github/workflows/build.yml:1","Warn: no topLevel permission defined: .github/workflows/enforce-license-compliance.yml:1","Warn: no topLevel permission defined: .github/workflows/image.yml:1","Warn: no topLevel permission defined: .github/workflows/lint.yml:1","Warn: no topLevel permission defined: .github/workflows/release.yml:1"],"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":"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":"25 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":"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":"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":"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":"Pinned-Dependencies","score":5,"reason":"dependency not pinned by hash detected -- score normalized to 5","details":["Warn: containerImage not pinned by hash: Dockerfile:1","Warn: containerImage not pinned by hash: Dockerfile:18: pin your Docker image by updating node:22-bookworm to node:22-bookworm@sha256:3266bc9e8bee1acc8a77386eefaf574987d2729b8c5ec35b0dbd6ddbc40b0ce2","Warn: pipCommand not pinned by hash: Dockerfile:49","Warn: downloadThenRun not pinned by hash: Dockerfile:51-88","Info:  13 out of  13 GitHub-owned GitHubAction dependencies pinned","Info:   2 out of   2 third-party GitHubAction dependencies pinned","Info:   0 out of   1 pipCommand dependencies pinned","Info:   0 out of   1 downloadThenRun dependencies pinned","Info:   0 out of   2 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":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact 2.9.1 not signed: https://api.github.com/repos/getsentry/craft/releases/235767617","Warn: release artifact 2.9.0 not signed: https://api.github.com/repos/getsentry/craft/releases/234174029","Warn: release artifact 2.8.0 not signed: https://api.github.com/repos/getsentry/craft/releases/229773583","Warn: release artifact 2.7.2 not signed: https://api.github.com/repos/getsentry/craft/releases/228763580","Warn: release artifact 2.7.1 not signed: https://api.github.com/repos/getsentry/craft/releases/224849748","Warn: release artifact 2.9.1 does not have provenance: https://api.github.com/repos/getsentry/craft/releases/235767617","Warn: release artifact 2.9.0 does not have provenance: https://api.github.com/repos/getsentry/craft/releases/234174029","Warn: release artifact 2.8.0 does not have provenance: https://api.github.com/repos/getsentry/craft/releases/229773583","Warn: release artifact 2.7.2 does not have provenance: https://api.github.com/repos/getsentry/craft/releases/228763580","Warn: release artifact 2.7.1 does not have provenance: https://api.github.com/repos/getsentry/craft/releases/224849748"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/getsentry/.github/SECURITY.md:1","Info: Found linked content: github.com/getsentry/.github/SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/getsentry/.github/SECURITY.md:1","Info: Found text in security policy: github.com/getsentry/.github/SECURITY.md:1"],"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":"Branch-Protection","score":4,"reason":"branch protection is not maximal on development and all release branches","details":["Info: 'allow deletion' disabled on branch 'master'","Info: 'force pushes' disabled on branch 'master'","Warn: 'branch protection settings apply to administrators' is disabled on branch 'master'","Warn: 'stale review dismissal' is disabled on branch 'master'","Warn: required approving review count is 1 on branch 'master'","Warn: codeowners review is not required on branch 'master'","Warn: 'last push approval' is disabled on branch 'master'","Warn: 'up-to-date branches' is disabled on branch 'master'","Info: status check found to merge onto on branch 'master'","Info: PRs are required in order to make changes on 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":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/image.yml:9"],"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":"Vulnerabilities","score":4,"reason":"6 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-pxg6-pf52-xh8x"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":9,"reason":"SAST tool is not run on all commits -- score normalized to 9","details":["Warn: 11 commits out of 12 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"}}]},"last_synced_at":"2025-08-19T01:58:13.257Z","repository_id":39850948,"created_at":"2025-08-19T01:58:13.258Z","updated_at":"2025-08-19T01:58:13.258Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31239522,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-31T13:32:58.087Z","status":"ssl_error","status_checked_at":"2026-03-31T13:32:57.391Z","response_time":111,"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","craft","google-cloud-storage","npm","nuget","packaging","pypi","release-automation","rust-crate","sentry","sentry-release-registry","tag-production","typescript"],"created_at":"2024-07-31T15:01:44.314Z","updated_at":"2026-04-02T13:38:45.424Z","avatar_url":"https://github.com/getsentry.png","language":"TypeScript","readme":"\u003cp align=\"center\"\u003e\n    \u003cimg src=\"img/logo.svg\" width=\"280\"\u003e\n    \u003cbr /\u003e\n\u003c/p\u003e\n\n# Craft: Universal Release Tool \u003c!-- omit in toc --\u003e\n\n[![GitHub release](https://img.shields.io/github/release/getsentry/craft.svg)](https://github.com/getsentry/craft/releases/latest)\n[![npm version](https://img.shields.io/npm/v/@sentry/craft.svg)](https://www.npmjs.com/package/@sentry/craft)\n[![license](https://img.shields.io/github/license/getsentry/craft.svg)](https://github.com/getsentry/craft/blob/master/LICENSE)\n\nCraft is a command line tool that helps automate and pipeline package releases. It enforces a specific workflow for managing release branches, changelogs, and artifact publishing.\n\n📚 **[Full Documentation](https://getsentry.github.io/craft/)**\n\n## Quick Start\n\n### Installation\n\nDownload the [latest binary release](https://github.com/getsentry/craft/releases/latest), or install via npm:\n\n```shell\nnpm install -g @sentry/craft\n```\n\n### Usage\n\n```shell\n# Auto-determine version from conventional commits\ncraft prepare auto\n\n# Or specify a version explicitly\ncraft prepare 1.2.3\n\n# Publish to all configured targets\ncraft publish 1.2.3\n```\n\n## Features\n\n- **Auto Versioning** - Automatically determine version bumps from conventional commits\n- **Multiple Targets** - Publish to GitHub, NPM, PyPI, Docker, Crates.io, NuGet, and more\n- **Changelog Management** - Auto-generate changelogs from commits or validate manual entries\n- **Workspace Support** - Handle monorepos with NPM/Yarn workspaces\n- **CI Integration** - Wait for CI to pass, download artifacts, and publish\n- **GitHub Actions** - Built-in actions for release preparation and changelog previews\n\n## Configuration\n\nCreate a `.craft.yml` in your project root:\n\n```yaml\nminVersion: '2.0.0'\nchangelog:\n  policy: auto\ntargets:\n  - name: github\n  - name: npm\n    access: public\n```\n\nSee the [configuration reference](https://getsentry.github.io/craft/configuration/) for all options.\n\n## Supported Targets\n\n| Target             | Description                           |\n| ------------------ | ------------------------------------- |\n| `github`           | GitHub releases and tags              |\n| `npm`              | NPM registry (with workspace support) |\n| `pypi`             | Python Package Index                  |\n| `crates`           | Rust crates.io                        |\n| `nuget`            | .NET NuGet                            |\n| `docker`           | Docker registries                     |\n| `brew`             | Homebrew formulas                     |\n| `gcs`              | Google Cloud Storage                  |\n| `gh-pages`         | GitHub Pages                          |\n| `cocoapods`        | CocoaPods                             |\n| `gem`              | RubyGems                              |\n| `maven`            | Maven Central                         |\n| `hex`              | Elixir Hex                            |\n| `pub-dev`          | Dart/Flutter pub.dev                  |\n| `aws-lambda-layer` | AWS Lambda layers                     |\n| `powershell`       | PowerShell Gallery                    |\n\nSee the [targets documentation](https://getsentry.github.io/craft/targets/) for configuration details.\n\n## GitHub Actions\n\nCraft provides GitHub Actions for automating releases and previewing changelog entries.\n\n### Prepare Release Action\n\nAutomates the `craft prepare` workflow in GitHub Actions:\n\n```yaml\nname: Release\non:\n  workflow_dispatch:\n    inputs:\n      version:\n        description: 'Version to release (or \"auto\")'\n        required: false\n\njobs:\n  release:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - uses: getsentry/craft@v2\n        with:\n          version: ${{ github.event.inputs.version }}\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n```\n\n**Inputs:**\n\n| Input           | Description                                                                                   | Default                              |\n| --------------- | --------------------------------------------------------------------------------------------- | ------------------------------------ |\n| `version`       | Version to release (semver, \"auto\", \"major\", \"minor\", \"patch\")                                | Uses `versioning.policy` from config |\n| `merge_target`  | Target branch to merge into                                                                   | Default branch                       |\n| `force`         | Force release even with blockers                                                              | `false`                              |\n| `blocker_label` | Label that blocks releases                                                                    | `release-blocker`                    |\n| `publish_repo`  | Repository for publish issues. Use `\"self\"` to create issues in the source repository itself. | `{owner}/publish`                    |\n\n**Outputs:**\n\n| Output      | Description                          |\n| ----------- | ------------------------------------ |\n| `version`   | The resolved version being released  |\n| `branch`    | The release branch name              |\n| `sha`       | The commit SHA on the release branch |\n| `changelog` | The changelog for this release       |\n\n### Changelog Preview (Reusable Workflow)\n\nPosts a preview comment on PRs showing how they'll appear in the changelog:\n\n```yaml\nname: Changelog Preview\non:\n  pull_request:\n    types: [opened, synchronize, reopened, edited, labeled]\n\njobs:\n  changelog-preview:\n    uses: getsentry/craft/.github/workflows/changelog-preview.yml@v2\n    secrets: inherit\n```\n\nThe workflow will:\n\n- Generate the upcoming changelog including the PR's changes\n- Highlight entries from the PR using blockquote style (left border)\n- Post a comment on the PR with the preview\n- Automatically update when you update the PR (push, edit title/description, or change labels)\n\n## Contributing\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) for development setup and guidelines.\n\n## License\n\nMIT\n","funding_links":["https://sentry.io/pricing/","https://sentry.io/"],"categories":["TypeScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetsentry%2Fcraft","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgetsentry%2Fcraft","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetsentry%2Fcraft/lists"}