Skip to content

ci: fixed detox tests. #1094

ci: fixed detox tests.

ci: fixed detox tests. #1094

Workflow file for this run

name: Auto Merge
on: pull_request_target
permissions:
pull-requests: write
contents: write
jobs:
enable-auto-merge:
runs-on: ubuntu-latest
if: ${{ github.repository == 'jhipster/generator-jhipster-react-native' && github.event.pull_request.user.login == 'dependabot[bot]' }}
steps:
- name: Dependabot metadata
id: dependabot-metadata
uses: dependabot/[email protected]
- name: Enable auto-merge for Dependabot PRs
if: ${{ steps.dependabot-metadata.outputs.update-type != 'version-update:semver-major' }}
run: gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}