Skip to content

Commit

Permalink
Add action to label new issues and pull requests
Browse files Browse the repository at this point in the history
  • Loading branch information
samdoran committed Nov 8, 2021
1 parent 7fe85e7 commit 332ee15
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
@@ -0,0 +1,11 @@
needs_triage:
- '.*'
- '.*/*'
- '*'
- '*/*'

docs:
- docs/*

test:
- 'test/*'
26 changes: 26 additions & 0 deletions .github/workflows/triage.yml
@@ -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 332ee15

Please sign in to comment.