diff --git a/.github/workflows/update-flake-lock.yml b/.github/workflows/update-flake-lock.yml index 6ad0da1..fd10cae 100644 --- a/.github/workflows/update-flake-lock.yml +++ b/.github/workflows/update-flake-lock.yml @@ -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 diff --git a/.mergify.yml b/.mergify.yml new file mode 100644 index 0000000..ff4b171 --- /dev/null +++ b/.mergify.yml @@ -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: {} diff --git a/bors.toml b/bors.toml deleted file mode 100644 index 2a63539..0000000 --- a/bors.toml +++ /dev/null @@ -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]" -]