Skip to content

Remove photos_library_path selector #16

Remove photos_library_path selector

Remove photos_library_path selector #16

name: Dependabot Auto-merge
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
permissions:
contents: write
pull-requests: write
jobs:
auto-merge:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- name: Fetch Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v3
with:
github-token: ${{ secrets.GH_AUTOMERGE_TOKEN }}
- name: Auto-merge github-actions updates
if: steps.metadata.outputs.package-ecosystem == 'github_actions'
run: gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ secrets.GH_AUTOMERGE_TOKEN }}
- name: Auto-merge npm/Docker patch and minor updates
if: |
(
steps.metadata.outputs.package-ecosystem == 'npm' &&
steps.metadata.outputs.update-type == 'version-update:semver-patch'
) || (
steps.metadata.outputs.package-ecosystem == 'docker' &&
steps.metadata.outputs.update-type == 'version-update:semver-patch' &&
steps.metadata.outputs.update-type == 'version-update:semver-minor'
)
run: gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ secrets.GH_AUTOMERGE_TOKEN }}