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 2294406 commit c59a545
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/update_label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@ jobs:
permissions:
issues: write
steps:
- run: gh label edit "$NAME" -n "$NEW_NAME" -c $NEW_COLOR -d "$NEW_DESCRIPTION" -R datacite/product-suggestions-triage
- run: gh label edit "$NAME" -n "$NEW_NAME" -c $NEW_COLOR -d "$NEW_DESCRIPTION" -R $DEST_REPO
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GH_REPO: ${{ github.repository }}
NAME: ${{ github.event.changes.name.from }}
NEW_NAME: "${{ github.event.label.name }}"
NEW_COLOR: "${{ github.event.label.color }}"
NEW_DESCRIPTION: "${{ github.event.label.description }}"
DEST_REPO: ${{ vars.DEST_REPO }}

0 comments on commit c59a545

Please sign in to comment.