👷 Add GitHub Action labeler (#1298)

This commit is contained in:
Sebastián Ramírez
2024-08-12 21:44:18 -05:00
committed by GitHub
parent ee82165ec7
commit b4c34c63d6
2 changed files with 24 additions and 0 deletions

12
.github/labeler.yml vendored Normal file
View File

@@ -0,0 +1,12 @@
docs:
- changed-files:
- any-glob-to-any-file:
- '**/*.md'
internal:
- changed-files:
- any-glob-to-any-file:
- .github/**/*
- scripts/**/*
- .gitignore
- .pre-commit-config.yaml

12
.github/workflows/labeler.yml vendored Normal file
View File

@@ -0,0 +1,12 @@
name: Pull Request Labeler
on:
pull_request_target:
jobs:
labeler:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v5