Skip to content

chore(nix): update flake locks #13

chore(nix): update flake locks

chore(nix): update flake locks #13

name: Dependabot auto-merge
on:
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
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/fetch-metadata@25dd0e34f4fe68f24cc83900b1fe3fe149efef98
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Merge patch and minor updates
if: ${{ !github.event.pull_request.draft && (steps.metadata.outputs.update-type == 'version-update:semver-patch' || steps.metadata.outputs.update-type == 'version-update:semver-minor') }}
run: |
if gh pr merge --squash --delete-branch "$PR_URL"; then
exit 0
fi
gh pr merge --auto --squash --delete-branch "$PR_URL"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_URL: ${{ github.event.pull_request.html_url }}