refactor: Single source of truth to know if e2ei should be enabled #10290
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Translation auto-merge | |
on: pull_request_target | |
permissions: | |
pull-requests: write | |
contents: write | |
jobs: | |
activate-auto-merge: | |
runs-on: ubuntu-latest | |
if: ${{github.actor == 'otto-the-bot' && github.head_ref == 'translations'}} | |
steps: | |
- name: Enable auto-merge for Dependabot PRs | |
run: gh pr merge --auto --squash "$PR_URL" | |
env: | |
PR_URL: ${{github.event.pull_request.html_url}} | |
GITHUB_TOKEN: ${{secrets.WEBTEAM_AUTOMERGE_TOKEN}} |