Skip to content

Commit 85747d4

Browse files
authored
chore: add jira label to new issues (#1050)
1 parent 215e49c commit 85747d4

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/add-to-project.yaml renamed to .github/workflows/on-new-issue.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,13 @@ jobs:
1010
with:
1111
project_id: 2
1212
secrets: inherit
13+
14+
add-jira-label:
15+
runs-on: ubuntu-latest
16+
permissions:
17+
issues: write
18+
steps:
19+
- run: |
20+
gh issue --repo ${{github.repository}} edit ${{github.event.issue.number}} --add-label "jira"
21+
env:
22+
GH_TOKEN: ${{ github.token }}

0 commit comments

Comments
 (0)