Skip to content

Create labels

Create labels #3

Workflow file for this run

name: Create labels
on:
label:
types: created
jobs:
create_labels:
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 }}