Skip to content
Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Latest commit

 

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Milestone Release action

This actions creates a project Release from a Milestone and generates the change log with the closed issues associated to the Milestone. The main purpose is to help with post actions for the project release:

  • Search the given Milestone
  • Report Open Issues
  • Close the Milestone
  • Create the next Milestone
  • Generate Changelog from the closed issues associated with the Milestone
  • Create Project Release with the Changelog

Inputs

github-token

Required The GitHub Token used to create an authenticated client. The Github Token is already set by the Github Action itself. Use this if you want to pass in your own Personal Access Token.

Default ${{github.token}}.

milestone-title

Required The Milestone Title to search for in the Repository.

milestone-next

Optional The Milestone Title to create in the Repository.

Example usage

- uses: smallrye/milestone-release-action@main
  name: milestone release
  with:
    github-token: ${{secrets.GITHUB_TOKEN}}
    milestone-title: '2.0.0'

Most likely you want for the milestone-title to be dynamic. You could retrieve the milestone title associated with your context, by querying something in your project that provides you that information and then pass it as a variable:

- uses: smallrye/milestone-release-action@main
  name: milestone release
  with:
    github-token: ${{secrets.GITHUB_TOKEN}}
    milestone-title: ${{steps.version.outputs.project-version}}

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages