chore: add action to automatically label docs (#7284)

* chore: add action to automatically label docs

* removes the paths param
This commit is contained in:
Shahed Nasser
2024-05-13 09:36:47 +03:00
committed by GitHub
parent 79758c46b6
commit 3e3b8a483f
2 changed files with 16 additions and 0 deletions

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

@@ -0,0 +1,3 @@
'type: docs':
- changed-files:
- any-glob-to-any-file: www/**

13
.github/workflows/docs-pr-label.yml vendored Normal file
View File

@@ -0,0 +1,13 @@
name: "Add Docs PR Label"
on:
pull_request:
jobs:
labeler:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- id: label-the-PR
uses: actions/labeler@v5