From 5e34762abde5b0430deb2b864a14b1001a8e2c87 Mon Sep 17 00:00:00 2001 From: Anatoliy Melnikov <5785276@gmail.com> Date: Sun, 1 Mar 2026 19:03:21 +0300 Subject: [PATCH 1/2] Automate creation of Issues from TODO in code --- .github/workflows/todo-registrar.yaml | 56 +++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 .github/workflows/todo-registrar.yaml diff --git a/.github/workflows/todo-registrar.yaml b/.github/workflows/todo-registrar.yaml new file mode 100644 index 0000000000..cd7e497143 --- /dev/null +++ b/.github/workflows/todo-registrar.yaml @@ -0,0 +1,56 @@ +name: TODO Registrar + +on: + push: + branches: [ "main" ] + +permissions: + contents: write + pull-requests: write + issues: write + +jobs: + todo-registrar: + name: Register TODO + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Register TODOs + uses: Aeliot-Tm/todo-registrar-action@1.6.4 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + config: | + paths: + in: . + exclude: + - var + - vendor + process: + glueSameTickets: true + glueSequentialComments: true + registrar: + type: GitHub + options: + issue: + addTagToLabels: true + labels: + - needs-review + - tech-debt + tagPrefix: tag- + showContext: numbered + contextTitle: "## Added in position:" + service: + personalAccessToken: "%env(GITHUB_TOKEN)%" + repository: "${{ github.repository }}" + tags: + - todo + - fixme + env_vars: | + GITHUB_TOKEN + new_branch_name: 'todo-registrar' From 7c6f493d618f6d842459821db466baf54c89cae4 Mon Sep 17 00:00:00 2001 From: Anatoliy Melnikov <5785276@gmail.com> Date: Sun, 1 Mar 2026 19:19:42 +0300 Subject: [PATCH 2/2] Config running on branch '5.x' --- .github/workflows/todo-registrar.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/todo-registrar.yaml b/.github/workflows/todo-registrar.yaml index cd7e497143..f0f217624a 100644 --- a/.github/workflows/todo-registrar.yaml +++ b/.github/workflows/todo-registrar.yaml @@ -2,7 +2,7 @@ name: TODO Registrar on: push: - branches: [ "main" ] + branches: [ "5.x" ] permissions: contents: write