Skip to content

Bump fast-uri from 3.1.2 to 3.1.5 in /user-restricted-combined-auth-tutorials/cis2/php #131

Bump fast-uri from 3.1.2 to 3.1.5 in /user-restricted-combined-auth-tutorials/cis2/php

Bump fast-uri from 3.1.2 to 3.1.5 in /user-restricted-combined-auth-tutorials/cis2/php #131

name: Dependabot auto-merge
on:
pull_request_target:
types: [opened, reopened, synchronize, ready_for_review]
permissions:
contents: write
pull-requests: write
jobs:
automerge:
name: Auto-merge Dependabot patch updates
runs-on: ubuntu-latest
# Only run on Dependabot PRs
if: github.event.pull_request.user.login == 'dependabot[bot]'
steps:
- name: Fetch Dependabot metadata
id: meta
uses: dependabot/fetch-metadata@25dd0e34f4fe68f24cc83900b1fe3fe149efef98 # v3.1.0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Approve PR
run: gh pr review --approve "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Auto-merge patch updates only
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 }}