Skip to content

refactor(api)!: v0.15 Welle 1 — API-Konsistenz (System.update, serializer per-app, barrel cleanup) #229

refactor(api)!: v0.15 Welle 1 — API-Konsistenz (System.update, serializer per-app, barrel cleanup)

refactor(api)!: v0.15 Welle 1 — API-Konsistenz (System.update, serializer per-app, barrel cleanup) #229

name: Dependabot Auto-Merge
on:
pull_request:
types: [opened, synchronize, reopened]
permissions:
contents: write
pull-requests: write
concurrency:
group: dependabot-automerge-${{ github.event.pull_request.number }}
cancel-in-progress: true
jobs:
auto-merge:
if: github.actor == 'dependabot[bot]'
runs-on: ubuntu-latest
steps:
- name: Fetch metadata
id: metadata
uses: dependabot/fetch-metadata@v3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
# Auto-merge only patch updates.
- name: Enable auto-merge for eligible Dependabot updates
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 }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}