Skip to content

Commit

Permalink
Create create_label.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
codycooperross authored Jul 23, 2024
1 parent 24886ff commit 5e6d11b
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/create_label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Create labels
on:
label:
types: created
jobs:
label_issues:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- run: gh label create "$NAME" -c $COLOR -d "$DESCRIPTION" -r datacite/product-suggestions-triage --force
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GH_REPO: ${{ github.repository }}
NAME: ${{ github.event.label.name }}
COLOR: ${{ github.event.label.color }}
DESCRIPTION: ${{ github.event.label.description }}

0 comments on commit 5e6d11b

Please sign in to comment.