Skip to content

Commit

Permalink
Merge pull request #1502 from kbenzie/benie/ci-pr-labeler
Browse files Browse the repository at this point in the history
[GHA] Add "Pull Request Labeler" workflow
  • Loading branch information
kbenzie authored Apr 10, 2024
2 parents e00a764 + 61ef790 commit ecdd159
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 0 deletions.
48 changes: 48 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Config file for .github/workflows/labeler.yml to automatically add labels to
# pull requests based on the globs below. For documentation see:
# https://github.com/marketplace/actions/labeler
---
ci-cd:
- changed-files:
- .github/**

specification:
- changed-files:
- scripts/core/**

experimental:
- changed-files:
- scripts/core/EXP*.rst
- scripts/core/exp*.yml

common:
- changed-files:
- source/common/**

loader:
- changed-files:
- source/loader/**

opencl:
- changed-files:
- source/adapter/opencl/**

level-zero:
- changed-files:
- source/adapters/level_zero/**

cuda:
- changed-files:
- source/adapters/cuda/**

hip:
- changed-files:
- source/adapters/hip/**

native-cpu:
- changed-files:
- source/adapters/native_cpu/**

conformance:
- changed-files:
- test/conformance/**
16 changes: 16 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Automatically add labels to pull requests based on globs in the
# .github/labeler.yml config file. For documentation see:
# https://github.com/marketplace/actions/labeler
---
name: Pull Request Labeler

on: [ pull_request_target ]

jobs:
labeler:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v5

0 comments on commit ecdd159

Please sign in to comment.