Skip to content

Commit

Permalink
Create label.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rachelicr authored Nov 27, 2024
1 parent 3dfe6bb commit dc7f594
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Add active to label

on:
issues:
types:
- opened
- edited

jobs:
add-to-project:
name: Set active label
runs-on: ubuntu-latest
steps:
- run: gh issue edit "$NUMBER" --add-label "$LABELS"
env:
GH_TOKEN: ${{ secrets.LABEL_ACTIVE }}
GH_REPO: ${{ github.repository }}
NUMBER: ${{ github.event.issue.number }}
LABELS: active

0 comments on commit dc7f594

Please sign in to comment.