Skip to content

Commit f2a66d9

Browse files
authored
chore: upgrade deprecated todo checker (#470)
1 parent 78195df commit f2a66d9

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed
Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
11
---
22
name: Internal - Global - Pull Request TODO checker
33

4+
# This workflow triggers a scan of TODOs in the current pull request.
5+
# For each TODO that is not marked to be ignored, it posts a comment.
6+
# It helps ensure that no TODOs are accidentally left behind in merged PRs.
7+
48
on:
5-
pull_request_review_comment:
6-
types: [edited, deleted]
9+
710
pull_request:
811
types: [opened, synchronize, reopened]
912

10-
jobs:
11-
find_todos:
12-
runs-on: ubuntu-latest
13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.ref }}
15+
cancel-in-progress: false
1316

14-
steps:
15-
- name: Checkout code
16-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
17-
18-
- name: Check for Todos
19-
uses: phntmxyz/pr_todo_checker@6fa564ed029d70acfc3dbf72dde4c2ffc2be7c82 # v1
20-
with:
21-
token: ${{ secrets.GITHUB_TOKEN }}
17+
jobs:
18+
call-todo-checker:
19+
uses: camunda/infraex-common-config/.github/workflows/todo-checker-global.yml@eb9d51b4dc89deeda7fc160166f378725ee0f06a # 1.5.3
20+
secrets: inherit

0 commit comments

Comments
 (0)