Skip to content

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

License

Notifications You must be signed in to change notification settings

venkatsarvesh/pr-tasks-completed-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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