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 authored and riqwan committed May 15, 2024
1 parent a7bd799 commit 01e6b4a
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 01e6b4a

Please sign in to comment.