Skip to content

Commit

Permalink
Update update_label.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
codycooperross authored Jul 23, 2024
1 parent 3417bc9 commit 2ed4000
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/update_label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@ on:
label:
types: edited
jobs:
create_labels:
update_labels:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- run: gh label edit "$NAME" --name "$NEW_NAME" -c $NEW_COLOR -R datacite/product-suggestions-triage
- run: gh label edit "$NAME" --name "$NEW_NAME" -c $NEW_COLOR -d "$NEW_DESCRIPTION" -R datacite/product-suggestions-triage
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GH_REPO: ${{ github.repository }}
NAME: ${{ github.event.label.name }}
NEW_NAME: ${{ github.event.changes.name }}
NEW_COLOR: ${{ github.event.changes.color }}
NEW_DESCRIPTION: ${{ github.event.changes.description }}

0 comments on commit 2ed4000

Please sign in to comment.