Skip to content

Commit

Permalink
Automatically label new pull requests based on the paths of files bei…
Browse files Browse the repository at this point in the history
…ng changed or the branch name.

Signed-off-by: Ritwik G <[email protected]>
  • Loading branch information
ritwik-g authored Oct 22, 2024
1 parent 1d65ac1 commit ff4aa28
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# This workflow will triage pull requests and apply a label based on the
# paths that are modified in the pull request.
#
# To use this workflow, you will need to set up a .github/labeler.yml
# file with configuration. For more information, see:
# https://github.com/actions/labeler

name: Labeler
on: [pull_request_target]

jobs:
label:

runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write

steps:
- uses: actions/labeler@v5
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit ff4aa28

Please sign in to comment.