{"id":24531938,"url":"https://github.com/julbme/gh-action-manage-tag","last_synced_at":"2025-08-31T16:35:15.578Z","repository":{"id":65155554,"uuid":"461492199","full_name":"julbme/gh-action-manage-tag","owner":"julbme","description":"GitHub Action to manage tags","archived":false,"fork":false,"pushed_at":"2022-12-03T21:05:12.000Z","size":664,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-19T06:34:50.017Z","etag":null,"topics":["ci","create","delete","github-action","tag"],"latest_commit_sha":null,"homepage":"https://julbme.github.io/gh-action-manage-tag/","language":"Java","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/julbme.png","metadata":{"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}},"created_at":"2022-02-20T13:13:44.000Z","updated_at":"2022-02-21T21:28:57.000Z","dependencies_parsed_at":"2023-01-05T13:19:05.871Z","dependency_job_id":null,"html_url":"https://github.com/julbme/gh-action-manage-tag","commit_stats":{"total_commits":12,"total_committers":3,"mean_commits":4.0,"dds":"0.41666666666666663","last_synced_commit":"d41d102788f09ba81bece1ca76c8983859f19fc6"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julbme%2Fgh-action-manage-tag","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julbme%2Fgh-action-manage-tag/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julbme%2Fgh-action-manage-tag/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julbme%2Fgh-action-manage-tag/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/julbme","download_url":"https://codeload.github.com/julbme/gh-action-manage-tag/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243785080,"owners_count":20347409,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["ci","create","delete","github-action","tag"],"created_at":"2025-01-22T09:16:54.811Z","updated_at":"2025-03-15T20:16:20.012Z","avatar_url":"https://github.com/julbme.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build](https://github.com/julbme/gh-action-manage-tag/actions/workflows/maven-build.yml/badge.svg)](https://github.com/julbme/gh-action-manage-tag/actions/workflows/maven-build.yml)\n[![Lint Commit Messages](https://github.com/julbme/gh-action-manage-tag/actions/workflows/commitlint.yml/badge.svg)](https://github.com/julbme/gh-action-manage-tag/actions/workflows/commitlint.yml)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=julbme_gh-action-manage-tag\u0026metric=alert_status)](https://sonarcloud.io/summary/new_code?id=julbme_gh-action-manage-tag)\n![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/julbme/gh-action-manage-tag)\n\n# GitHub Action to manage tags\n\nThe GitHub Action for managing tags of the GitHub repository.\n\n- Create a new tag\n- Move the tag to another commit\n- Delete a tag\n\n## Usage\n\n### Example Workflow file\n\n- Create a tag:\n\n```yaml\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Create/Update the tag\n        uses: julbme/gh-action-manage-tag@v1\n        with:\n          name: tag-name\n          state: present\n          from: ${{ github.ref }}\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n```\n\n- Delete a tag\n\n```yaml\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Delete the tag\n        uses: julbme/gh-action-manage-tag@v1\n        with:\n          name: tag-name\n          state: absent\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n```\n\n### Inputs\n\n|  Name   |  Type  |   Default    |                                                                              Description                                                                               |\n|---------|--------|--------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name`  | string | `Not set`    | Name of the tag. **Required**                                                                                                                                          |\n| `state` | string | `present`    | Expected state of the tag. Valid values are `present` to create the tag or `absent` to delete the tag                                                                  |\n| `from`  | string | `github.sha` | The reference from which to create or update the tag - could be a branch, a tag, a ref or a specific SHA. By default, it takes the commit that triggered the workflow. |\n\n### Outputs\n\n|  Name  |  Type  |                               Description                               |\n|--------|--------|-------------------------------------------------------------------------|\n| `ref`  | string | Git ref of the tag `refs/tags/name`, or ` ` in case the tag is deleted. |\n| `name` | string | Name of the tag, or ` ` in case the tag is deleted.                     |\n| `sha`  | sha    | SHA Commit of the tag, or ` ` in case the tag is deleted.               |\n\n## Contributing\n\nThis project is totally open source and contributors are welcome.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjulbme%2Fgh-action-manage-tag","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjulbme%2Fgh-action-manage-tag","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjulbme%2Fgh-action-manage-tag/lists"}