Skip to content

Commit

Permalink
Create create-issue.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
husamettinarabaci authored Mar 19, 2024
1 parent 72d4b57 commit db0fc5d
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/create-issue.yaml
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 db0fc5d

Please sign in to comment.