Skip to content

Commit

Permalink
chore: add action to automatically label docs (#7284)
Browse files Browse the repository at this point in the history
* chore: add action to automatically label docs

* removes the paths param
  • Loading branch information
shahednasser committed May 13, 2024
1 parent 79758c4 commit 3e3b8a4
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
'type: docs':
- changed-files:
- any-glob-to-any-file: www/**
13 changes: 13 additions & 0 deletions .github/workflows/docs-pr-label.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 3e3b8a4

Please sign in to comment.