Skip to content

Commit

Permalink
Add workflow to triage new issues and pull requests (#304)
Browse files Browse the repository at this point in the history
Add workflow to triage new issues and pull requests

This will label new issues and pull requests with the needs_triage label in order to help with our new triage process.

Reviewed-by: David Shrewsbury <None>
Reviewed-by: None <None>
  • Loading branch information
samdoran committed Dec 7, 2021
1 parent dad321c commit 8c25805
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
needs_triage:
- '.*'
- '.*/*'
- '*'
- '*/*'

docs:
- docs/*

test:
- 'test/*'
26 changes: 26 additions & 0 deletions .github/workflows/triage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Triage

permissions:
contents: read
pull-requests: write
issues: write

on:
issues:
types:
- opened

pull_request:
types:
- opened

jobs:
triage:
runs-on: ubuntu-latest
name: Label

steps:
- name: Apply labels
uses: actions/labeler@v3
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit 8c25805

Please sign in to comment.