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>
This commit is contained in:
Shakar Bakr 2025-06-10 11:57:10 +03:00
parent 1c61a6cde7
commit a3afb99979
No known key found for this signature in database
GPG Key ID: DA55A26823AE3C28

View File

@ -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