Git Product home page Git Product logo

task-completed-checker-action's Introduction

Task Completed Checker Action

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

This is a fork from kentaro-m/task-completed-checker-action so most of the code is based off that. The change I wanted to make involved using the original check that's kicked off by GitHub then pass/fail that check instead of creating a new one (which also simplifies the workflow). Since this is a fairly dramatic change to the original, it felt better as a fork that we maintain (especially since it's under the MIT license).

▶️ Usage

Create a workflow

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

jobs:
  task-check:
    runs-on: ubuntu-latest
    steps:
      - uses: chromaui/task-completed-checker-action@main
        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:

## Issue Type
<!-- ignore-task-list-start -->
- [ ] Bug
- [ ] Document
- [ ] Enhancement
<!-- ignore-task-list-end -->

## Checklist
- [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

Create a pull request that contained tasks list to your repository and will be started automatically a workflow to check whether tasks are completed.

Every time edit a description of a pull request will be started automatically a new workflow to check.

Check whether tasks are completed

You can check a list of completed tasks and uncompleted tasks at the Actions page.

Check a list of completed/uncompleted tasks

Ignore checks whether tasks are completed

Please surround the task list with <!-- ignore-task-list-start --> and <!-- ignore-task-list-end --> for ignoring checks whether tasks are completed.

## Issue Type
<!-- ignore-task-list-start -->
- [ ] Bug
- [ ] Document
- [x] Enhancement
<!-- ignore-task-list-end -->

## Checklist
- [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

📝 Licence

MIT

task-completed-checker-action's People

Contributors

codykaup avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.