From d56ea6fb3abf8bb17a1edc868c9793f8fc1ac928 Mon Sep 17 00:00:00 2001 From: Shakar Bakr <5h4k4r.b4kr@gmail.com> Date: Sun, 15 Jun 2025 11:13:22 +0300 Subject: [PATCH] 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> --- action.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index ec85a7e..9451e1f 100644 --- a/action.yml +++ b/action.yml @@ -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"