kentaro-m / task-completed-checker-action

:ballot_box_with_check: A GitHub action that checks if all tasks are completed in the pull requests.
MIT License
71 stars 27 forks source link

When selecting and deselecting tasks afterwards the status is still success #64

Open inf17101 opened 1 year ago

inf17101 commented 1 year ago

When marking all tasks as completed in the PR and afterwards deselecting some of the tasks, then the task-list-completed-checker is triggered again but finishes with success (green).

Expected: The PR shall not be allowed to merge if a task is deselected

Steps to reproduce:

  1. .github/workflows/task-list-checker.yml
  2. Put the following config in:
    
    name: 'PR Tasks Completed Check'
    on: 
    pull_request:
    types: [opened, edited, reopened, synchronized]

jobs: task-check: permissions: write-all runs-on: ubuntu-latest steps: