mirror of
https://github.com/ditkrg/todo-to-issue-action.git
synced 2026-01-22 13:56:44 +00:00
Refactor token assignment in action.yml to simplify logic for token retrieval, enhancing clarity and functionality.
Signed-off-by: Shakar Bakr <5h4k4r.b4kr@gmail.com>
This commit is contained in:
parent
9edb3d4a80
commit
d56ea6fb3a
@ -30,7 +30,7 @@ runs:
|
||||
COMMITS: ${{ inputs.COMMITS }}
|
||||
DIFF_URL: ${{ inputs.DIFF_URL }}
|
||||
SHA: ${{ inputs.SHA }}
|
||||
TOKEN: ${{ inputs.APP_ID != '' && steps.generate-token.outputs.token || inputs.TOKEN }}
|
||||
TOKEN: ${{ steps.generate-token.outputs.token || inputs.TOKEN }}
|
||||
TARGET_REPO: ${{ inputs.TARGET_REPO }}
|
||||
CLOSE_ISSUES: ${{ inputs.CLOSE_ISSUES }}
|
||||
AUTO_P: ${{ inputs.AUTO_P }}
|
||||
@ -47,6 +47,7 @@ runs:
|
||||
LANGUAGES: ${{ inputs.LANGUAGES }}
|
||||
NO_STANDARD: ${{ inputs.NO_STANDARD }}
|
||||
INSERT_ISSUE_URLS: ${{ inputs.INSERT_ISSUE_URLS }}
|
||||
|
||||
branding:
|
||||
icon: "check-square"
|
||||
color: "orange"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user