Merge pull request #114 from nix-community/bors

replace bors with mergify
This commit is contained in:
Jörg Thalheim 2023-06-15 06:48:49 +01:00 committed by GitHub
commit dd36fcf195
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 38 additions and 22 deletions

View file

@ -15,10 +15,5 @@ jobs:
- name: Update flake.lock
uses: DeterminateSystems/update-flake-lock@v19
with:
token: ${{ secrets.GH_TOKEN_FOR_UPDATES }}
pr-body: |
Automated changes by the update-flake-lock
```
{{ env.GIT_COMMIT_MESSAGE }}
```
bors merge
pr-label: |
merge-queue

36
.mergify.yml Normal file
View file

@ -0,0 +1,36 @@
queue_rules:
- name: default
merge_conditions:
- check-success=Evaluate flake.nix
- check-success=check kexec-installer-2305 [x86_64-linux]
- check-success=check kexec-installer-unstable [x86_64-linux]
- check-success=check shellcheck [x86_64-linux]
- check-success=images (nixos-23.05)
- check-success=images (nixos-unstable)
- check-success=package kexec-installer-nixos-2305 [aarch64-linux]
- check-success=package kexec-installer-nixos-2305 [x86_64-linux]
- check-success=package kexec-installer-nixos-2305-noninteractive [aarch64-linux]
- check-success=package kexec-installer-nixos-2305-noninteractive [x86_64-linux]
- check-success=package kexec-installer-nixos-unstable [aarch64-linux]
- check-success=package kexec-installer-nixos-unstable [x86_64-linux]
- check-success=package kexec-installer-nixos-unstable-noninteractive [aarch64-linux]
- check-success=package kexec-installer-nixos-unstable-noninteractive [x86_64-linux]
- check-success=package netboot-installer-nixos-2305 [aarch64-linux]
- check-success=package netboot-installer-nixos-2305 [x86_64-linux]
- check-success=package netboot-installer-nixos-unstable [aarch64-linux]
- check-success=package netboot-installer-nixos-unstable [x86_64-linux]
- check-success=package netboot-nixos-2305 [aarch64-linux]
- check-success=package netboot-nixos-2305 [x86_64-linux]
- check-success=package netboot-nixos-unstable [aarch64-linux]
- check-success=package netboot-nixos-unstable [x86_64-linux]
defaults:
actions:
queue:
allow_merging_configuration_change: true
pull_request_rules:
- name: merge using the merge queue
conditions:
- base=main
- label~=merge-queue|dependencies
actions:
queue: {}

View file

@ -1,15 +0,0 @@
cut_body_after = "" # don't include text from the PR body in the merge commit message
status = [
"Evaluate flake.nix",
"check kexec-installer-2305 [x86_64-linux]",
"check kexec-installer-unstable [x86_64-linux]",
"check shellcheck [x86_64-linux]",
"package kexec-installer-nixos-2305 [x86_64-linux]",
"package kexec-installer-nixos-2305-noninteractive [x86_64-linux]",
"package kexec-installer-nixos-unstable [x86_64-linux]",
"package kexec-installer-nixos-unstable-noninteractive [x86_64-linux]",
"package netboot-installer-nixos-2305 [x86_64-linux]",
"package netboot-installer-nixos-unstable [x86_64-linux]",
"package netboot-nixos-2305 [x86_64-linux]",
"package netboot-nixos-unstable [x86_64-linux]"
]