Skip to content

Commit

Permalink
feat(ci): enable auto merge
Browse files Browse the repository at this point in the history
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
  • Loading branch information
Scrumplex committed Jan 5, 2024
1 parent f091448 commit 6a54871
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/nvfetcher.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,18 @@ jobs:
nix develop -c nvfetcher --commit-changes
- name: Create PR
id: cpr
uses: peter-evans/create-pull-request@v5
with:
base: "main"
branch: "update-locks"
delete-branch: true
title: "chore: update locks"
body: "Automated pull request to update flake.lock and nvfetcher sources"

- name: Enable Pull Request Automerge
if: steps.cpr.outputs.pull-request-operation == 'created'
uses: peter-evans/enable-pull-request-automerge@v3
with:
pull-request-number: ${{ steps.cpr.outputs.pull-request-number }}
merge-method: merge

0 comments on commit 6a54871

Please sign in to comment.