From 481600892b96c2bc38bef1ab739e41eceb1b3493 Mon Sep 17 00:00:00 2001 From: George Taylor Date: Sat, 4 May 2024 23:02:09 +0100 Subject: [PATCH] Update action.yml --- action.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index b629e88..e2c38d8 100644 --- a/action.yml +++ b/action.yml @@ -32,8 +32,14 @@ runs: env: GITHUB_TOKEN: ${{ inputs.GITHUB_TOKEN }} run: | - gh label list | grep -q ${gitmoji}_gitmoji || gh label create $gitmoji -c '$(openssl rand -hex 3)' -d "PRs with $gitmoji gitmoji" - + gh label list | grep -q ${gitmoji}_gitmoji || gh label create ${gitmoji}_gitmoji -c '$(openssl rand -hex 3)' -d "PRs with $gitmoji gitmoji" + - name: Add label to PR + id: add-label + shell: bash + env: + GITHUB_TOKEN: ${{ inputs.GITHUB_TOKEN }} + run: | + gh pr label ${gitmoji}_gitmoji branding: icon: 'check-circle' color: 'green' \ No newline at end of file