feat: Add custom fallback to handle 404 errors on azure #149
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: "Dependabot Auto-approve / -merge" | |
on: pull_request | |
jobs: | |
dependabot: | |
permissions: | |
contents: write | |
pull-requests: write | |
runs-on: ubuntu-latest | |
env: | |
PR_URL: ${{github.event.pull_request.html_url}} | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
if: ${{ github.actor == 'dependabot[bot]' }} | |
steps: | |
- name: Approve a PR | |
run: gh pr review --approve "$PR_URL" | |
- name: Enable auto-merge for Dependabot PRs | |
run: gh pr merge --auto --squash "$PR_URL" |