chore(deps-dev): bump eslint from 8.57.1 to 9.11.1 #6
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: Approve and auto-merge dependabot PRs | ||
on: | ||
pull_request: | ||
branches: [main] | ||
permissions: | ||
contents: write | ||
pull-requests: write | ||
jobs: | ||
automerge: | ||
Check failure on line 12 in .github/workflows/depdendabot.yml GitHub Actions / Approve and auto-merge dependabot PRsInvalid workflow file
|
||
if: ${{ contains(github.head_ref, 'dependabot/npm_and_yarn') }} | ||
needs: verify | ||
runs-on: ubuntu-latest | ||
env: | ||
PR_URL: ${{github.event.pull_request.html_url}} | ||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | ||
steps: | ||
- name: Approve PR | ||
run: gh pr review --approve "$PR_URL" | ||
- name: Enable auto merge | ||
run: gh pr merge --auto --merge "$PR_URL" |