Skip to content

Commit

Permalink
Update action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
georgepstaylor committed May 4, 2024
1 parent a54e9c9 commit 4816008
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

0 comments on commit 4816008

Please sign in to comment.