This commit is contained in:
23
.github/workflows/check-todo.yml
vendored
Normal file
23
.github/workflows/check-todo.yml
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
name: PR Todo Checker
|
||||
|
||||
on:
|
||||
pull_request_review_comment:
|
||||
types: [edited, deleted]
|
||||
pull_request:
|
||||
types: [opened, synchronize, reopened]
|
||||
|
||||
jobs:
|
||||
find_todos:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
pull-requests: write # to comment on PRs
|
||||
contents: read
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Check for Todos
|
||||
uses: phntmxyz/pr_todo_checker@v1
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
Reference in New Issue
Block a user