{"id":23108200,"url":"https://github.com/prompt/actions-delete-tag","last_synced_at":"2026-05-01T13:32:33.282Z","repository":{"id":49575995,"uuid":"376653131","full_name":"prompt/actions-delete-tag","owner":"prompt","description":":scissors: Delete the tag that triggered the workflow","archived":false,"fork":false,"pushed_at":"2023-08-11T19:06:03.000Z","size":4,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-28T08:48:35.357Z","etag":null,"topics":["actions","git","github-actions"],"latest_commit_sha":null,"homepage":"","language":null,"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/prompt.png","metadata":{"funding":{"github":"pr-mpt"},"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-06-13T22:38:17.000Z","updated_at":"2023-08-11T19:06:08.000Z","dependencies_parsed_at":"2023-08-12T02:57:48.547Z","dependency_job_id":null,"html_url":"https://github.com/prompt/actions-delete-tag","commit_stats":null,"previous_names":["prompt/actions-delete-tag","pr-mpt/actions-delete-tag"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/prompt/actions-delete-tag","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prompt%2Factions-delete-tag","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prompt%2Factions-delete-tag/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prompt%2Factions-delete-tag/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prompt%2Factions-delete-tag/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prompt","download_url":"https://codeload.github.com/prompt/actions-delete-tag/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prompt%2Factions-delete-tag/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32499681,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["actions","git","github-actions"],"created_at":"2024-12-17T01:17:43.794Z","updated_at":"2026-05-01T13:32:33.250Z","avatar_url":"https://github.com/prompt.png","language":null,"funding_links":["https://github.com/sponsors/pr-mpt"],"categories":[],"sub_categories":[],"readme":"# Delete Tag\n\nA GitHub Action that deletes the tag that triggered the workflow.\n\n```\nprompt/actions-delete-tag@v1\n```\n\n## Inputs\n\nNo inputs.\n\n## Outputs\n\nNo outputs.\n\n## Example\n\nWhen a new tag is created, assert that the commit has a `dist` directory and if\nit does not then delete the tag.\n\n```yaml\nname: \"Limit Tags To Distributable Commits\"\n\non:\n  push:\n    tags:\n      - \"**\"\n\njobs:\n  validate-tag:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: prompt/actions-assert@v2\n        with:\n          assertion: npm://@assertions/directory-exists\n          expected: dist\n      - if: failure()\n        name: Delete tag\n        uses: prompt/actions-delete-tag@v1\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprompt%2Factions-delete-tag","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprompt%2Factions-delete-tag","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprompt%2Factions-delete-tag/lists"}