mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
7c0c9a2b93
Summary: Just doing some cleanup of the `.github/workflows` folder: * apply-version-label-issue.yml hasn't been working since 0.72 * ios-tests is unnecessary as it's now covered by test-all * nightlies-feedback.yml was experimental and last execution was ~5 months ago. We can still recover them from the Git history if necessary. ## Changelog: [INTERNAL] - Cleanup the .github/workflows folder Pull Request resolved: https://github.com/facebook/react-native/pull/44857 Test Plan: Will wait for CI result Reviewed By: NickGerleman Differential Revision: D58362912 Pulled By: cortinico fbshipit-source-id: d886e4f077eebfdf906169f09f96a950a361cab7
27 lines
925 B
YAML
27 lines
925 B
YAML
name: Run E2E Tests
|
|
# This workflow is used to trigger E2E tests on a PR when a comment is made
|
|
# containing the text "#run-e2e-tests".
|
|
on:
|
|
issue_comment:
|
|
types: [created]
|
|
permissions:
|
|
contents: read
|
|
jobs:
|
|
rebase:
|
|
name: Trigger E2E Tests
|
|
permissions:
|
|
contents: write # for cirrus-actions/rebase to push code to rebase
|
|
pull-requests: read # for cirrus-actions/rebase to get info about PR
|
|
runs-on: ubuntu-latest
|
|
if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '#run-e2e-tests')
|
|
steps:
|
|
- name: Checkout the latest code
|
|
uses: actions/checkout@v4
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
fetch-depth: 0 # otherwise, you will fail to push refs to dest repo
|
|
- name: Push empty commit
|
|
run: |
|
|
git commit -m "#run-e2e-tests" --allow-empty
|
|
git push origin $(git branch --show-current)
|