https://github.com/fabernovel/probot-pr-milestone
🤖 GitHub App that checks that all the pull requests are tagged with a GitHub milestone
https://github.com/fabernovel/probot-pr-milestone
milestone probot-app pull-request
Last synced: 9 months ago
JSON representation
🤖 GitHub App that checks that all the pull requests are tagged with a GitHub milestone
- Host: GitHub
- URL: https://github.com/fabernovel/probot-pr-milestone
- Owner: faberNovel
- License: isc
- Created: 2019-04-09T15:40:23.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-03-03T19:36:45.000Z (over 3 years ago)
- Last Synced: 2025-07-27T07:46:45.554Z (11 months ago)
- Topics: milestone, probot-app, pull-request
- Language: TypeScript
- Homepage: http://github.com/apps/pr-milestone-checker/
- Size: 11.6 MB
- Stars: 0
- Watchers: 11
- Forks: 0
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# pr-milestone-checker
> A GitHub App built with [Probot](https://github.com/probot/probot) that checks that all the pull requests are tagged with a GitHub milestone.
## Usage
When a pull request is created/updated, this application checks whether it is properly [milestoned](https://help.github.com/en/articles/about-milestones).

> By default status is only set when the milestone is/was missing.
To use this bot with [GitHub Actions](https://github.com/features/actions), the following workflow can be defined as `.github/workflows/pr-milestone-checker.yml` in your repository.
```
name: PR milestone
on:
issues:
types: ['milestoned', 'demilestoned']
pull_request:
types: ['opened', 'edited', 'synchronize']
jobs:
check_pr_milestone:
runs-on: ubuntu-latest
steps:
- uses: zengularity/pr-milestone-checker@ghaction-1.0.x
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
```
## Setup
```sh
# Install dependencies
npm install
# Run typescript
npm run build
# Run the bot
npm start
```
[](https://circleci.com/gh/zengularity/probot-pr-milestone)
## Contributing
If you have suggestions for how this application could be improved, or want to report a bug, open an issue! We'd love all and any contributions.
For more, check out the [Contributing Guide](CONTRIBUTING.md).
## License
[ISC](LICENSE) © 2019 Zengularity (https://github.com/zengularity/probot-pr-milestone)