https://github.com/beakyn/gha-close-milestone
Action to close milestone
https://github.com/beakyn/gha-close-milestone
github-action javascript milestone workflow
Last synced: 8 months ago
JSON representation
Action to close milestone
- Host: GitHub
- URL: https://github.com/beakyn/gha-close-milestone
- Owner: Beakyn
- License: mit
- Created: 2020-12-18T15:35:23.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2025-02-18T23:18:46.000Z (over 1 year ago)
- Last Synced: 2025-06-14T05:15:23.399Z (12 months ago)
- Topics: github-action, javascript, milestone, workflow
- Language: JavaScript
- Homepage:
- Size: 940 KB
- Stars: 5
- Watchers: 9
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

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