Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
play

GitHub Action

Close Milestone Action

v1.1.0

Close Milestone Action

play

Close Milestone Action

Close a specific Milestone

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Close Milestone Action

uses: Beakyn/gha-close-milestone@v1.1.0

Learn more about this action in Beakyn/gha-close-milestone

Choose a version

Close Milestone

Action to close milestone

Pre-requisites

Create a workflow .yml file in your .github/workflows directory. An example workflow is available below. For more information, reference the GitHub Help Documentation for Creating a workflow file.

Inputs

repository: Github repository. Add the Github context value: github.repository. (required)

Either milestone-number or milestone-title is required.

Examples

- name: Close milestone
  uses: Beakyn/gha-close-milestone@master
  env:
    GITHUB_TOKEN: ${{ github.token }}
  with:
    repository: ${{ github.repository }}
    milestone-number: 1
- name: Close milestone
  uses: Beakyn/gha-close-milestone@master
  env:
    GITHUB_TOKEN: ${{ github.token }}
  with:
    repository: ${{ github.repository }}
    milestone-title: v1.1.1