Skip to content

Commit

Permalink
PR Labeler
Browse files Browse the repository at this point in the history
  • Loading branch information
singhniraj08 committed May 7, 2024
1 parent 2cf7d47 commit e93af9e
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
'status:awaiting review':
- '**/*'

'component:examples':
- examples/**/*

'component:quickstarts':
- quickstarts/**/*
15 changes: 15 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: "PR Labeler"

on:
pull_request_target:
types: ["opened", "reopened", "ready_for_review"]

jobs:
triage:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v4
if: ${{ github.event.pull_request.draft == false }}

0 comments on commit e93af9e

Please sign in to comment.