Skip to content
play

GitHub Action

Close Milestone Action

v1.1.1 Latest version

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.1

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

Choose a version

Beakyn

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@v1.1.1
  env:
    GITHUB_TOKEN: ${{ github.token }}
  with:
    repository: ${{ github.repository }}
    milestone-number: 1
- name: Close milestone
  uses: Beakyn/gha-close-milestone@v1.1.1
  env:
    GITHUB_TOKEN: ${{ github.token }}
  with:
    repository: ${{ github.repository }}
    milestone-title: v1.1.1