Skip to content

Commit

Permalink
Add labeling workflow
Browse files Browse the repository at this point in the history
Signed-off-by: pranavm-nvidia <[email protected]>
  • Loading branch information
pranavm-nvidia authored and parthchadha committed Aug 8, 2024
1 parent d8c921a commit 0ce0029
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
tripy:
- changed-files:
- any-glob-to-any-file: tripy/**

mlir-tensorrt:
- changed-files:
- any-glob-to-any-file: mlir-tensorrt/**
23 changes: 23 additions & 0 deletions .github/workflows/label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# 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

jobs:
label:

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

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

0 comments on commit 0ce0029

Please sign in to comment.