Skip to content

fix: fall back to getAsFile when getAsFileSystemHandle returns null #8

fix: fall back to getAsFile when getAsFileSystemHandle returns null

fix: fall back to getAsFile when getAsFileSystemHandle returns null #8

name: Dependabot auto-merge
on: pull_request
permissions:
contents: write
pull-requests: write
jobs:
auto-merge:
if: ${{ github.actor == 'dependabot[bot]' }}
runs-on: ubuntu-latest
steps:
- name: Fetch update metadata
id: meta
uses: dependabot/fetch-metadata@v2
# Auto-merge patch updates once the required checks pass. Minor and major
# updates are left for manual review (the `if` below excludes them).
- name: Enable auto-merge for patch
if: ${{ steps.meta.outputs.update-type == 'version-update:semver-patch' }}
run: gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}