Skip to content

Commit

Permalink
Add 'needs repro' to issues as they come in (#4618)
Browse files Browse the repository at this point in the history
  • Loading branch information
rchiodo authored Jul 17, 2023
1 parent 21588a7 commit 3f78a6a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,17 @@ jobs:
repo: context.repo.repo,
assignees: ['${{ steps.rotation.outputs.next }}']
})
- name: Give it the label 'needs repro'
uses: actions/github-script@v6.3.3
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
github.rest.issues.addLabels({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: ['needs repro']
})
- name: Save assignment to state
uses: actions/github-script@v6.3.3
with:
Expand Down

0 comments on commit 3f78a6a

Please sign in to comment.