chore: add action to automatically label docs (#7284)
* chore: add action to automatically label docs * removes the paths param
This commit is contained in:
3
.github/labeler.yml
vendored
Normal file
3
.github/labeler.yml
vendored
Normal 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
13
.github/workflows/docs-pr-label.yml
vendored
Normal 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
|
||||||
Reference in New Issue
Block a user