Skip to content

Commit

Permalink
introduce labeler config and workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Igor Davidyuk <igor.davidyuk@intel.com>
  • Loading branch information
igor-davidyuk committed Apr 24, 2024
1 parent c23ab91 commit cc2e516
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
Rest-Clients:
- changed-files:
- any-glob-to-any-file:
- 'geti_sdk/rest_clients/**'
- 'tests/pre-merge/integration/rest_clients/*'

HTTP-Session:
- changed-files:
- any-glob-to-any-file:
- 'geti_sdk/http_session/*'
- 'tests/pre-merge/integration/http_session/*'

Geti-Object:
- changed-files:
- any-glob-to-any-file:
- 'geti_sdk/geti.py'
- 'tests/pre-merge/integration/test_geti.py'

Geti-Utils:
- changed-files:
- any-glob-to-any-file:
- 'geti_sdk/utils/*'
- 'tests/pre-merge/integration/utils/*'

Documentation:
- changed-files:
- any-glob-to-any-file:
- 'docs/**'

Notebooks:
- changed-files:
- any-glob-to-any-file:
- 'notebooks/**'
12 changes: 12 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
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 cc2e516

Please sign in to comment.