diff --git a/.github/workflows/add-label-run-extended-tests-approve.yml b/.github/workflows/add-label-run-extended-tests-approve.yml index ea48066aa37..90e100b7c95 100644 --- a/.github/workflows/add-label-run-extended-tests-approve.yml +++ b/.github/workflows/add-label-run-extended-tests-approve.yml @@ -1,4 +1,4 @@ -name: Extended tests on approve +name: Add Label to run extended tests on approve on: pull_request_review: @@ -8,8 +8,8 @@ concurrency: cancel-in-progress: true jobs: - label_approved_pr: - if: github.event.review.state == 'approved' && !contains( github.event.pull_request.labels.*.name, 'extended-tests') + label_pull_requests: + if: github.event.review.state == 'commented' && !contains( github.event.pull_request.labels.*.name, 'extended-tests') runs-on: ubuntu-latest permissions: pull-requests: write @@ -20,5 +20,5 @@ jobs: GH_REPO: ${{ github.repository }} NUMBER: ${{ github.event.pull_request.number }} e2e-tests: - needs: label_approved_pr + needs: label_pull_requests uses: ./.github/workflows/call-e2e-all-tests.yml