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

macqueenism/required-task-checker-action

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

Repository files navigation

Task Completed Checker Action

A GitHub action that checks if tasks marked as required are completed on pull requests.

Usage

Create a workflow

name: 'PR Tasks Completed Check'
on:
  pull_request:
    types: [opened, edited]

jobs:
  task-check:
    runs-on: ubuntu-latest
    steps:
      - uses: macqueenism/[email protected]
        with:
          repo-token: "${{ secrets.GITHUB_TOKEN }}"

Check whether required tasks are completed

In the description of a pull request:

## Issue Type
The following tasks will be ignored
- [ ] Bug
- [ ] Document
- [ ] Enhancement

## Checklist
The following tasks will be required
<!-- required-tasks -->
- [x] I have read the [CONTRIBUTING.md]()
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no lint errors
- [x] I have added tests that prove my fix is effective or that my feature works
- [x] New and existing unit tests pass locally with my changes
<!-- /required-tasks -->

Licence

MIT

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 96.4%
  • JavaScript 3.6%