message: chore(ci): disable e2e tests from workflow
diff: @@ -69,28 +69,28 @@ jobs:
  PULL_REQUEST_ID: ${{ github.event.number }}
  run: yarn handlers:comment-handler-sizes
  - start-e2e-tests:
  - # Note: we only run e2e tests automatically if this is a push on master or if PR is not from a fork or renovate, as forks won't have access to secrets
  - if: ${{ github.event_name == 'push' || (github.event_name == 'pull_request' && startsWith(github.event.pull_request.head.ref, 'renovate/') == false && github.event.pull_request.head.repo.full_name == github.repository) }}
  - runs-on: ubuntu-latest
  -
  - steps:
  - - name: Mark end-to-end tests as pending
  - uses: Sibz/github-status-action@v1
  - with:
  - authToken: ${{ secrets.GITHUB_TOKEN }}
  - context: "End-to-end Tests"
  - description: "Waiting for end-to-end tests to pass"
  - state: "pending"
  - sha: ${{ github.event.pull_request.head.sha || github.sha }}
  -
  - - name: Trigger end-to-end tests workflow
  - uses: benc-uk/workflow-dispatch@v1
  - with:
  - workflow: End-to-end Tests
  - token: ${{ secrets.BOT_GITHUB_TOKEN }}
  - ref: ${{ github.event.pull_request.head.ref || github.ref }}
  - # FIXME: Passing sha doesn't seem to work, created GitHub ticket here: https://github.community/t/workflow-dispatch-cant-set-ref-to-commit-sha/138132
  - # So for now we pass in SHA as an input
  - # ref: ${{ github.event.pull_request.head.sha || github.sha }}
  - inputs: '{"sha": "${{ github.event.pull_request.head.sha || github.sha }}"}'
  +# start-e2e-tests:
  +# # Note: we only run e2e tests automatically if this is a push on master or if PR is not from a fork or renovate, as forks won't have access to secrets
  +# if: ${{ github.event_name == 'push' || (github.event_name == 'pull_request' && startsWith(github.event.pull_request.head.ref, 'renovate/') == false && github.event.pull_request.head.repo.full_name == github.repository) }}
  +# runs-on: ubuntu-latest
  +
  +# steps:
  +# - name: Mark end-to-end tests as pending
  +# uses: Sibz/github-status-action@v1
  +# with:
  +# authToken: ${{ secrets.GITHUB_TOKEN }}
  +# context: "End-to-end Tests"
  +# description: "Waiting for end-to-end tests to pass"
  +# state: "pending"
  +# sha: ${{ github.event.pull_request.head.sha || github.sha }}
  +
  +# - name: Trigger end-to-end tests workflow
  +# uses: benc-uk/workflow-dispatch@v1
  +# with:
  +# workflow: End-to-end Tests
  +# token: ${{ secrets.BOT_GITHUB_TOKEN }}
  +# ref: ${{ github.event.pull_request.head.ref || github.ref }}
  +# # FIXME: Passing sha doesn't seem to work, created GitHub ticket here: https://github.community/t/workflow-dispatch-cant-set-ref-to-commit-sha/138132
  +# # So for now we pass in SHA as an input
  +# # ref: ${{ github.event.pull_request.head.sha || github.sha }}
  +# inputs: '{"sha": "${{ github.event.pull_request.head.sha || github.sha }}"}'
  