Skip to content

Commit

Permalink
chore: auto-label documentation PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
huitseeker committed Apr 30, 2022
1 parent ec4838b commit 94dc273
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Add 'Type: Documentation' to any changes within 'doc' folder or any subfolders
"Type: Documentation":
- doc/**/*
14 changes: 14 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: "Pull Request Labeler"
on:
- pull_request_target

jobs:
triage:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v4
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit 94dc273

Please sign in to comment.