Skip to content

Commit

Permalink
auto-label docs PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
orndorffgrant authored and renanrodrigo committed Nov 16, 2023
1 parent 0310abf commit 0f71f84
Show file tree
Hide file tree
Showing 2 changed files with 20 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 "docs" label to any PR against this branch
docs:
- '**'
17 changes: 17 additions & 0 deletions .github/workflows/label-docs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: "Pull Request Labeler"

on:
- pull_request_target

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

0 comments on commit 0f71f84

Please sign in to comment.