step-security/Sentry Release
GitHub Action for creating a release on Sentry
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| environment | Set the environment for this release. E.g. "production" or "staging". Omit to skip adding deploy to release. | no | — |
| sourcemaps | Space-separated list of paths to JavaScript source maps. Omit to skip uploading sourcemaps. | no | — |
| inject | Injects Debug IDs into source files and source maps to ensure proper un-minifcation of your stacktraces. Does nothing if "sourcemaps" was not set. | no | true |
| dist | Unique identifier for the distribution, used to further segment your release. Usually your build number. | no | — |
| finalize | When false, omit marking the release as finalized and released. | — | true |
| ignore_missing | When the flag is set and the previous release commit was not found in the repository, will create a release with the default commits count instead of failing the command. | no | false |
| ignore_empty | When the flag is set, command will not fail and just exit silently if no new commits for a given release have been found. | no | false |
| started_at | Unix timestamp of the release start date. Omit for current time. | no | — |
| version | Identifier that uniquely identifies the release. Should match the "release" property in your Sentry SDK init call if one was set. Omit to auto-generate one. | no | — |
| release | Identifier that uniquely identifies the release. Should match the "release" property in your Sentry SDK init call if one was set. Omit to auto-generate one. | no | — |
| version_prefix | Value prepended to auto-generated version. | no | — |
| release_prefix | Value prepended to auto-generated release version. | no | — |
| set_commits | Specify whether to set commits for the release. When "manual", you need to provide the repository, commit, and previous commit. One of: "auto", "skip", "manual" | no | — |
| repo | The repository to set commits for in "repo-owner/repo-name" format. Only used when "set_commits" is "manual". | no | — |
| commit | The commit SHA of the current release you are creating. Only used when "set_commits" is "manual". | no | — |
| previous_commit | The commit SHA of the previous release. Required when "set_commits" is "manual". | no | — |
| projects | Space-separated list of projects. Defaults to the env variable "SENTRY_PROJECT" if not provided. | no | — |
| url_prefix | Adds a prefix to source map urls after stripping them. | no | — |
| strip_common_prefix | Will remove a common prefix from uploaded filenames. Useful for removing a path that is build-machine-specific. Note: Will not remove common prefixes across two or more directories provided to "sourcemap". E.g. Setting "sourcemap": "./dist/js ./dist/asset/js" will strip "./dist" for the first directory and "./dist/assets/js" for the | no | false |
| working_directory | Directory to collect sentry release information from. Useful when collecting information from a non-standard checkout directory. | no | — |
| disable_telemetry | The action sends telemetry data and crash reports to Sentry. This helps us improve the action. You can turn this off by setting this flag. | no | false |
| disable_safe_directory | The action needs access to the repo it runs in. For that we need to configure git to mark the repo directory a safe directory. You can turn this off by setting this flag. | no | false |
Outputs
no outputs