Skip to content
box

GitHub Action

Delete a release by tag name

v0.19.0 Latest version

Delete a release by tag name

box

Delete a release by tag name

Delete a release by tag name. It supports GitHub Enterprise

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Delete a release by tag name

uses: cb80/delrel@v0.19.0

Learn more about this action in cb80/delrel

Choose a version

CI/CD

Description

This action can delete releases by tag name. It supports GitHub Enterprise.

Examples

uses: cb80/delrel@latest
with:
  tag: latest

Use a different token:

uses: cb80/delrel@latest
with:
  tag: latest
  token: ${{ secrets.MY_TOKEN }}

Inputs

Option Use Default Description
tag mandatory The tag which identifies the release.
token optional secrets.GITHUB_TOKEN The token for authentication and authorization.

Credits

This action is inspired by the official typescript action template.