diff --git a/.github/e2eLabeler.yml b/.github/e2eLabeler.yml new file mode 100644 index 00000000000..4ee20e64846 --- /dev/null +++ b/.github/e2eLabeler.yml @@ -0,0 +1,3 @@ +# E2E Labels when source files are changes +e2eLineage: + - "/openmetadata-ui\/.*lineage.*/" \ No newline at end of file diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index b39c4f34c58..4ce9c70bbc6 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -22,4 +22,18 @@ jobs: with: repo-token: ${{ secrets.GITHUB_TOKEN }} configuration-path: .github/labeler.yml + 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 \ No newline at end of file