{"id":15532125,"url":"https://github.com/endbug/latest-tag","last_synced_at":"2025-04-05T07:04:25.915Z","repository":{"id":39851177,"uuid":"209139487","full_name":"EndBug/latest-tag","owner":"EndBug","description":":octocat: Automatically generate \u0026 update a \"latest\" tag for your releases","archived":false,"fork":false,"pushed_at":"2024-10-02T15:48:14.000Z","size":606,"stargazers_count":60,"open_issues_count":0,"forks_count":13,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-29T06:09:00.590Z","etag":null,"topics":["actions","ci","github","github-actions","hacktoberfest","latest","tagging","tags","versioning"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/EndBug.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["endbug"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2019-09-17T19:26:47.000Z","updated_at":"2025-03-20T01:41:56.000Z","dependencies_parsed_at":"2023-01-05T13:16:24.615Z","dependency_job_id":"9891c7a1-19eb-42a6-a45c-389bbd24560c","html_url":"https://github.com/EndBug/latest-tag","commit_stats":{"total_commits":166,"total_committers":9,"mean_commits":"18.444444444444443","dds":"0.42771084337349397","last_synced_commit":"c24a76ea69bf06f7f0e43a48b61c2b51b99d6c42"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EndBug%2Flatest-tag","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EndBug%2Flatest-tag/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EndBug%2Flatest-tag/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EndBug%2Flatest-tag/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EndBug","download_url":"https://codeload.github.com/EndBug/latest-tag/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247299831,"owners_count":20916190,"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":["actions","ci","github","github-actions","hacktoberfest","latest","tagging","tags","versioning"],"created_at":"2024-10-02T11:29:15.189Z","updated_at":"2025-04-05T07:04:25.890Z","avatar_url":"https://github.com/EndBug.png","language":"TypeScript","readme":"# Latest tag\n\n[![All Contributors](https://img.shields.io/github/all-contributors/EndBug/latest-tag)](#contributors-)\n\nAutomatically creates \u0026 updates a `latest` tag pointing to your latest release.\n\nWhen using GitHub Actions you always have to put a reference for every action you use in your worflows: that means that you either need to choose a specific version or you need to use a branch.\nIf you want to use the **latest** release of an action you can only hope authors are mantaining a `latest` tag that they update with every version: although not impossible, it's not that easy to find someone willing to do that.\n\nThat's why I made this action: if you're the kind of guy that doesn't like to update tags you can simply use this action and forget about it. You can just put `latest` in the documentation: your users will get the benefits of using a branch as ref and the security of using only stable versions (as long as you don't make breaking changes).\n\n## Usage\n\nAdd a step like this to your workflow:\n\n```yaml\n- name: Run latest-tag\n  uses: EndBug/latest-tag@latest\n  with:\n    # You can change the name of the tag or branch with this input.\n    # Default: 'latest'\n    ref: someCustomTagName\n\n    # If a description is provided, the action will use it to create an annotated tag. If none is given, the action will create a lightweight tag.\n    # Default: ''\n    description: Description for the tag\n\n    # Force-update a branch instead of using a tag.\n    # Default: false\n    force-branch: true\n\n    # Directory to use when executing git commands\n    # Default: '${{ github.workspace }}'\n    git-directory: 'path/to/repo/dir'\n```\n\n\u003e [!IMPORTANT]\n\u003e Please make sure to set the workflow permissions so that the action runs with the `contents: write` permission. Visit the GitHub docs to learn more about token permissions: [\"Automating token authentication\"](https://docs.github.com/en/actions/security-guides/automatic-token-authentication)\n\n## License\n\nThis action is distributed under the MIT license, check the [license](LICENSE) for more info.\n\n## Similar actions\n\n[actions-tagger](https://github.com/marketplace/actions/actions-tagger): allows you to create and update both `latest` and major version tags, even though it doesn't support annotated tags and the major version tag is mandatory (ref v2.0.1).\n\n## Contributors ✨\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --\u003e\n\u003c!-- prettier-ignore-start --\u003e\n\u003c!-- markdownlint-disable --\u003e\n\u003ctable\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://github.com/EndBug\"\u003e\u003cimg src=\"https://avatars1.githubusercontent.com/u/26386270?v=4?s=100\" width=\"100px;\" alt=\"Federico Grandi\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eFederico Grandi\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/EndBug/latest-tag/commits?author=EndBug\" title=\"Code\"\u003e💻\u003c/a\u003e \u003ca href=\"https://github.com/EndBug/latest-tag/commits?author=EndBug\" title=\"Documentation\"\u003e📖\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://github.com/kslr\"\u003e\u003cimg src=\"https://avatars3.githubusercontent.com/u/5516323?v=4?s=100\" width=\"100px;\" alt=\"Kslr\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eKslr\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/EndBug/latest-tag/commits?author=kslr\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"http://lukas.dolezalu.cz/\"\u003e\u003cimg src=\"https://avatars0.githubusercontent.com/u/132277?v=4?s=100\" width=\"100px;\" alt=\"Lukáš Doležal\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eLukáš Doležal\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/EndBug/latest-tag/commits?author=DocX\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://github.com/ziyangczi\"\u003e\u003cimg src=\"https://avatars0.githubusercontent.com/u/41968256?v=4?s=100\" width=\"100px;\" alt=\"ziyangczi\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eziyangczi\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"#ideas-ziyangczi\" title=\"Ideas, Planning, \u0026 Feedback\"\u003e🤔\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://floppy.org.uk\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/3565?v=4?s=100\" width=\"100px;\" alt=\"James Smith\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eJames Smith\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"#ideas-Floppy\" title=\"Ideas, Planning, \u0026 Feedback\"\u003e🤔\u003c/a\u003e \u003ca href=\"https://github.com/EndBug/latest-tag/commits?author=Floppy\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://seb.people.metio.wtf/\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/44168?v=4?s=100\" width=\"100px;\" alt=\"Sebastian Hoß\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eSebastian Hoß\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/EndBug/latest-tag/commits?author=sebhoss\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"http://linkedin.com/in/tgoffinet/\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/15070724?v=4?s=100\" width=\"100px;\" alt=\"Tyler Goffinet\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eTyler Goffinet\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/EndBug/latest-tag/commits?author=qubitz\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://github.com/alyssa-glean\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/57534485?v=4?s=100\" width=\"100px;\" alt=\"Alyssa\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eAlyssa\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/EndBug/latest-tag/issues?q=author%3Aalyssa-glean\" title=\"Bug reports\"\u003e🐛\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://github.com/pavel-faltynek\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/86114047?v=4?s=100\" width=\"100px;\" alt=\"Pavel Faltýnek\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003ePavel Faltýnek\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"#maintenance-pavel-faltynek\" title=\"Maintenance\"\u003e🚧\u003c/a\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n  \u003c/tbody\u003e\n\u003c/table\u003e\n\n\u003c!-- markdownlint-restore --\u003e\n\u003c!-- prettier-ignore-end --\u003e\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:END --\u003e\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!\n","funding_links":["https://github.com/sponsors/endbug"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fendbug%2Flatest-tag","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fendbug%2Flatest-tag","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fendbug%2Flatest-tag/lists"}