superset/.github/actions/latest-tag
Jesse Yang a3bbbf8ea3
build: inline external Github Actions to unblock CI (#12241)
* build: inline cached-dependencies to unblock CI

* Run E2E on pull_request on;y

* Inline all external actions

* Checkout needed for internal actions

Also fixes pre-commit

* Add missing files
2021-01-04 14:16:07 +02:00
..
.github build: inline external Github Actions to unblock CI (#12241) 2021-01-04 14:16:07 +02:00
lib build: inline external Github Actions to unblock CI (#12241) 2021-01-04 14:16:07 +02:00
src build: inline external Github Actions to unblock CI (#12241) 2021-01-04 14:16:07 +02:00
.all-contributorsrc build: inline external Github Actions to unblock CI (#12241) 2021-01-04 14:16:07 +02:00
.eslintrc.js build: inline external Github Actions to unblock CI (#12241) 2021-01-04 14:16:07 +02:00
.gitignore build: inline external Github Actions to unblock CI (#12241) 2021-01-04 14:16:07 +02:00
.prettierrc build: inline external Github Actions to unblock CI (#12241) 2021-01-04 14:16:07 +02:00
LICENSE build: inline external Github Actions to unblock CI (#12241) 2021-01-04 14:16:07 +02:00
README.md build: inline external Github Actions to unblock CI (#12241) 2021-01-04 14:16:07 +02:00
action.yml build: inline external Github Actions to unblock CI (#12241) 2021-01-04 14:16:07 +02:00
package-lock.json build: inline external Github Actions to unblock CI (#12241) 2021-01-04 14:16:07 +02:00
package.json build: inline external Github Actions to unblock CI (#12241) 2021-01-04 14:16:07 +02:00
tsconfig.json build: inline external Github Actions to unblock CI (#12241) 2021-01-04 14:16:07 +02:00

README.md

Latest tag

All Contributors

Automatically creates & updates a latest tag pointing to your latest release.

When 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.
If 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.

That'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).

Usage

Add a step like this to your workflow:

- name: Run latest-tag
  uses: EndBug/latest-tag@latest
  with:
    # You can change the name of the tag with this input.
    # Default: 'latest'
    tag-name: someCustomTagName

    # 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.
    # Optional
    description: Description for the tag

License

This action is distributed under the MIT license, check the license for more info.

Similar 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).

Contributors

Thanks goes to these wonderful people (emoji key):


Federico Grandi

💻 📖

Kslr

💻

Lukáš Doležal

💻

ziyangczi

🤔

This project follows the all-contributors specification. Contributions of any kind welcome!