Actions36
- File Actions
- Issue Actions
- Organization Actions
- Release Actions
- Repository Actions
- Review Actions
- User Actions
- Workflow Actions
Release → Delete
AI-generatedOverview
This node operation deletes a release from a specified GitHub repository. It is useful for automating the management of GitHub releases, such as removing outdated or incorrect releases programmatically. For example, it can be used in CI/CD pipelines to clean up releases after deployment or in maintenance workflows to manage repository releases.
Use Case Examples
- Delete a release by specifying the repository owner, repository name, and release ID.
- Automate release cleanup by deleting releases that meet certain criteria.
Properties
| Name | Meaning |
|---|---|
| Repository Owner | The owner of the GitHub repository from which the release will be deleted. This can be selected from a list, provided as a URL, or entered by name. |
| Repository Name | The name of the GitHub repository from which the release will be deleted. This can be selected from a list, provided as a URL, or entered by name. |
| Release ID | The unique identifier of the release to delete. This is required to specify which release to remove. |
Output
JSON
success- Indicates whether the release deletion was successful (true)
Dependencies
- GitHub API access via GitHub App authentication
Troubleshooting
- Ensure the provided Repository Owner and Repository Name are correct and accessible with the authenticated GitHub App.
- Verify that the Release ID corresponds to an existing release in the specified repository.
- Check that the GitHub App has the necessary permissions to delete releases in the repository.
- Common error messages include authorization errors if the GitHub App lacks permissions, or not found errors if the release ID or repository details are incorrect.
Links
- GitHub API - Delete a Release - Official GitHub API documentation for deleting a release from a repository.