Skip to content

Commit

Permalink
Added GitHub Actions workflow for auto-labeling
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderWert committed Nov 18, 2020
2 parents b362fbb + bf8f68f commit 868e7bf
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/labeler-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# add 'agent-dotnet' label to all new issues
agent-dotnet:
- '.*'
16 changes: 16 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: "Issue Labeler"
on:
issues:
types: [opened]
pull_request_target:
types: [opened]

jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: AlexanderWert/issue-labeler@v2.3
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: .github/labeler-config.yml
enable-versioned-regex: 0

0 comments on commit 868e7bf

Please sign in to comment.