chore(deps-dev): bump the eslint group across 1 directory with 5 updates #4005
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: auto-merge PR | |
on: pull_request | |
permissions: | |
pull-requests: write | |
contents: write | |
# This job will enable auto merge on dependabots and otto-the-bot's PRs | |
jobs: | |
activate-auto-merge: | |
runs-on: ubuntu-latest | |
if: ${{github.actor == 'dependabot[bot]' || github.actor == 'otto-the-bot'}} | |
steps: | |
- name: Approve PR | |
run: gh pr review --approve "$PR_URL" | |
env: | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
PR_URL: ${{github.event.pull_request.html_url}} | |
- name: Enable auto-merge | |
run: gh pr merge --auto --squash "$PR_URL" | |
env: | |
GITHUB_TOKEN: ${{secrets.OTTO_THE_BOT_GH_TOKEN}} | |
PR_URL: ${{github.event.pull_request.html_url}} |