From a3afb9997949936fc8f40f046bb9c0f6c5b2a32f Mon Sep 17 00:00:00 2001 From: Shakar Bakr <5h4k4r.b4kr@gmail.com> Date: Tue, 10 Jun 2025 11:57:10 +0300 Subject: [PATCH] Refactor action.yml to improve input defaults and repository handling for the TODO to Issue action, ensuring better compatibility and clarity in workflows. Signed-off-by: Shakar Bakr <5h4k4r.b4kr@gmail.com> --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 8ccf6c9..4a40a9b 100644 --- a/action.yml +++ b/action.yml @@ -12,7 +12,7 @@ runs: app-id: ${{ inputs.APP_ID }} private-key: ${{ inputs.PRIVATE_KEY }} owner: ${{ inputs.OWNER }} - repositories: ${{ inputs.TARGET_REPO }} + repositories: ${{ inputs.TARGET_REPO != '' && split(inputs.TARGET_REPO, '/')[1] || '' }} - name: Run TODO to Issue action uses: docker://reg.dev.krd/test-todo-to-issue/todo-to-issue-action:test