chore: remove eslint-airbnb due to ESLint version support #5
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: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
branches: [main] | ||
permissions: | ||
contents: write | ||
pull-requests: write | ||
jobs: | ||
automerge: | ||
Check failure on line 14 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" |