Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 19 additions & 9 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,24 @@
# Docs-related PRs
root:
- changed-files:
- any-glob-to-any-file: '*'

documentation:
- 'doc/**'
- 'requirements-docs.txt'
- any:
- changed-files:
- any-glob-to-any-file:
- 'doc/**'
- 'requirements-docs.txt'

# Source RST files
rst:
- 'doc/source/**/*.rst'
- any:
- changed-files:
- any-glob-to-any-file:
- 'doc/source/**/*.rst'

# Config files
config:
- '.github/**'
- 'doc/Makefile'
- 'doc/make.bat'
- any:
- changed-files:
- any-glob-to-any-file:
- '.github/**'
- 'doc/Makefile'
- 'doc/make.bat'
5 changes: 5 additions & 0 deletions .github/workflows/pr-labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ on:
pull_request:
types: [opened, synchronize, reopened]

permissions:
contents: read
pull-requests: write
issues: write

jobs:
label:
runs-on: ubuntu-latest
Expand Down
Loading