Skip to content

Bump sigs.k8s.io/structured-merge-diff/v4 from 4.4.3 to 4.5.0 #186

Bump sigs.k8s.io/structured-merge-diff/v4 from 4.4.3 to 4.5.0

Bump sigs.k8s.io/structured-merge-diff/v4 from 4.4.3 to 4.5.0 #186

Workflow file for this run

name: Dependabot auto-approve
on: pull_request
permissions:
pull-requests: write
contents: write
jobs:
dependabot:
runs-on: ubuntu-latest
if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' }}
steps:
- name: Dependabot metadata
id: dependabot-metadata
uses: dependabot/fetch-metadata@v2
- uses: actions/checkout@v4
- name: Setup gh cli
uses: ksivamuthu/actions-setup-gh-cli@v3
- name: Approve a Dependabot PR
run: gh pr review --approve "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Enable auto-merge for Dependabot PRs
run: gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}