Skip to content

Commit

Permalink
add service labeler for pull request
Browse files Browse the repository at this point in the history
Signed-off-by: landylee007 <[email protected]>
  • Loading branch information
landylee007 committed Sep 5, 2021
1 parent ae8d1c8 commit 14c9837
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Add 'service/x' label to any change to microservice files within the source dir
service/aslan:
- pkg/microservice/aslan/*

service/cron:
- pkg/microservice/cron/*

service/podexec:
- pkg/microservice/podexec/*

service/predator:
- pkg/microservice/predator/*

service/reaper:
- pkg/microservice/reaper/*

service/warpdrive:
- pkg/microservice/warpdrive/*

service/hubserver:
- pkg/microservice/hubserver/*
11 changes: 11 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: "Pull Request Labeler"
on:
- pull_request_target

jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v3
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit 14c9837

Please sign in to comment.