Skip to content

Commit

Permalink
feat(ci): add pull request labeler for documentation labels (#535)
Browse files Browse the repository at this point in the history
---------

Co-authored-by: Alex Lowe <[email protected]>
Co-authored-by: Tiago Nobrega <[email protected]>
  • Loading branch information
3 people authored Apr 16, 2024
1 parent b33a48c commit fc787fb
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Add 'documentation' label to any changes within 'docs' folder or any subfolders
documentation:
- changed-files:
- any-glob-to-any-file: docs/**
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:
branches:
- main

jobs:
labeler:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v5

0 comments on commit fc787fb

Please sign in to comment.