-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1502 from kbenzie/benie/ci-pr-labeler
[GHA] Add "Pull Request Labeler" workflow
- Loading branch information
Showing
2 changed files
with
64 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |