Skip to content

Commit

Permalink
Oppdater Dependabot auto-merge
Browse files Browse the repository at this point in the history
  • Loading branch information
androa committed Jul 24, 2024
1 parent f6e6dbf commit 53ced52
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/dependabot-auto-merge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,11 @@ jobs:
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'
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}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit 53ced52

Please sign in to comment.