Skip to content

Commit

Permalink
Create create-issue.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
husamettinarabaci authored Apr 4, 2024
1 parent 5caa8b2 commit c62d46e
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/create-issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Assign Project and Member
on:
issues:
types:
- opened
jobs:
label_issues:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- run: |
gh issue edit "$NUMBER" --add-project "$PROJECT" --add-label "$LABELS"
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
LABELS: ${{ secrets.REPO_TEAM }}
GH_REPO: ${{ github.repository }}
NUMBER: ${{ github.event.issue.number }}
PROJECT: ${{ secrets.ASSIGN_PROJECT }}

0 comments on commit c62d46e

Please sign in to comment.