Skip to content

chore(deps): bump actions/cache from 5.0.4 to 5.0.5 in the github-actions group across 1 directory #4358

chore(deps): bump actions/cache from 5.0.4 to 5.0.5 in the github-actions group across 1 directory

chore(deps): bump actions/cache from 5.0.4 to 5.0.5 in the github-actions group across 1 directory #4358

name: Dependabot auto-merge
on:
workflow_dispatch:
pull_request:
branches: [main]
permissions:
contents: write
pull-requests: write
jobs:
dependabot:
runs-on: ubuntu-latest
if: github.event.pull_request.user.id == 49699333 # dependabot[bot]
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@ffa630c65fa7e0ecfa0625b5ceda64399aea1b36 # v3.0.0
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Enable auto-merge for Dependabot PRs
if: ${{steps.metadata.outputs.update-type == 'version-update:semver-patch'}}
run: gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}