Skip to content

Latest commit

 

History

History
49 lines (36 loc) · 1.22 KB

README.md

File metadata and controls

49 lines (36 loc) · 1.22 KB

PR TaskList Completed Checker Action

A GitHub action that checks if all tasks are completed in the pull requests.

Usage

Create a workflow

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 }}"

Check whether tasks are completed

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.

All tasks completed: All tasks completed

Some tasks are still pending:

Some tasks are still pending

You can check a list of uncompleted tasks at the Actions page on clicking Details. List of pending tasks

📝 Licence

MIT