diff --git a/.github/workflows/after-approval.yml b/.github/workflows/after-approval.yml index 85117d40999..a3751ecc12a 100644 --- a/.github/workflows/after-approval.yml +++ b/.github/workflows/after-approval.yml @@ -10,7 +10,7 @@ concurrency: jobs: label-pr: - if: github.event.review.state == 'commented' && !contains(github.event.pull_request.labels.*.name, 'extended-tests') + if: github.event.review.state == 'approved' && !contains(github.event.pull_request.labels.*.name, 'extended-tests') runs-on: ubuntu-latest permissions: contents: read diff --git a/.github/workflows/tests-extended.yml b/.github/workflows/tests-extended.yml index 2895e50cf30..52f4d150f3d 100644 --- a/.github/workflows/tests-extended.yml +++ b/.github/workflows/tests-extended.yml @@ -1,21 +1,21 @@ -# name: Lexical Tests (Extended) +name: Lexical Tests (Extended) -# on: -# pull_request: -# types: [labeled, synchronize, reopened] -# paths-ignore: -# - 'packages/lexical-website/**' -# - 'packages/*/README.md' +on: + pull_request: + types: [labeled, synchronize, reopened] + paths-ignore: + - 'packages/lexical-website/**' + - 'packages/*/README.md' -# concurrency: -# group: ${{ github.workflow }}-${{ github.ref }} -# cancel-in-progress: true +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true -# jobs: -# e2e-tests: -# if: github.repository_owner == 'facebook' && contains(github.event.pull_request.labels.*.name, 'extended-tests') -# uses: ./.github/workflows/call-e2e-all-tests.yml +jobs: + # e2e-tests: + # if: github.repository_owner == 'facebook' && contains(github.event.pull_request.labels.*.name, 'extended-tests') + # uses: ./.github/workflows/call-e2e-all-tests.yml -# integration-tests: -# if: github.repository_owner == 'facebook' && contains(github.event.pull_request.labels.*.name, 'extended-tests') -# uses: ./.github/workflows/call-integration-tests.yml + integration-tests: + if: github.repository_owner == 'facebook' && contains(github.event.pull_request.labels.*.name, 'extended-tests') + uses: ./.github/workflows/call-integration-tests.yml