A GitHub action that checks if all tasks are completed in the pull requests.
name: 'PR TaskList Completed Checker'
on:
pull_request:
types: [edited, opened, synchronize, reopened]
jobs:
task-check:
runs-on: ubuntu-latest
steps:
- uses: venkatsarvesh/[email protected]
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
Add a pull request template to your repository (.github/pull_request_template.md
).
For example:
## Checklist
- [ ] Completed code review
- [ ] Ran unit tests
- [ ] Completed e2e tests
Create a pull request that contained tasks list to your repository. This will start a workflow automatically to check whether tasks are completed.
Every update on a pull request will start a new workflow automatically to check pending tasks.
Some tasks are still pending:
You can check a list of uncompleted tasks at the Actions page on clicking Details.
MIT