add e2e labeller (#15072)

This commit is contained in:
Karan Hotchandani 2024-02-07 15:33:54 +05:30 committed by GitHub
parent 54b1d089ae
commit cb59514978
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 17 additions and 0 deletions

3
.github/e2eLabeler.yml vendored Normal file
View File

@ -0,0 +1,3 @@
# E2E Labels when source files are changes
e2eLineage:
- "/openmetadata-ui\/.*lineage.*/"

View File

@ -23,3 +23,17 @@ jobs:
repo-token: ${{ secrets.GITHUB_TOKEN }} repo-token: ${{ secrets.GITHUB_TOKEN }}
configuration-path: .github/labeler.yml configuration-path: .github/labeler.yml
sync-labels: true sync-labels: true
pr-e2e-labels:
# Job to assign e2e PR labels for cypress tags
name: pr-e2e-labels
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: Assign e2e labels
uses: actions/labeler@v4
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
configuration-path: .github/e2eLabeler.yml
sync-labels: true