Skip to content

Bump com.approvaltests:approvaltests from 24.7.0 to 24.8.0 #111

Bump com.approvaltests:approvaltests from 24.7.0 to 24.8.0

Bump com.approvaltests:approvaltests from 24.7.0 to 24.8.0 #111

name: Dependabot auto-merge
on: pull_request
permissions:
contents: write
pull-requests: write
jobs:
dependabot:
runs-on: ubuntu-latest
if: github.event.pull_request.user.login == 'dependabot[bot]'
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/[email protected]
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Enable auto-merge for Dependabot PRs
if: |
steps.metadata.outputs.update-type != 'version-update:semver-major' ||
steps.metadata.outputs.package-ecosystem == 'github_actions' ||
steps.metadata.outputs.dependency-names == 'no.nav.dagpenger:dp-version-catalog'
run: gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}