Skip to content

Query GitHub API releases endpoint and get the latest release tag using a regex

Notifications You must be signed in to change notification settings

resuelve/latest-release-tag-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Get latest release tag

This action query GitHub API releases endpoint and get the latest release tag using a regex

Inputs

Input Required Description
github_token yes GitHub token
regex yes regex pattern to match only certain tags

Outputs

Output Description
tag Tag value extracted from releases

Usage

- name: Update deployment container image
  uses: resuelve/latest-release-tag-action@master
    with:
      github_token: ${{ secrets.GITHUB_TOKEN }}
      regex: "some regex"

Enjoy 🎉

About

Query GitHub API releases endpoint and get the latest release tag using a regex

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published