From c5f9be1af414dcf36bab28dd650ee3f1cd990949 Mon Sep 17 00:00:00 2001 From: Tristan Date: Tue, 14 Feb 2023 15:55:21 -0500 Subject: [PATCH] Set builder job timeout to 1 week Sets the timeout of the build job to 1 week (might be overkill but better set it too high than too low) Also prevents multiple instances of the workflow from running concurrently. --- .github/workflows/nix.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/nix.yml b/.github/workflows/nix.yml index 1389c597..a0c4f479 100644 --- a/.github/workflows/nix.yml +++ b/.github/workflows/nix.yml @@ -7,8 +7,10 @@ on: - nixpkgs-unstable pull_request: workflow_dispatch: +concurrency: "{{ github.head_ref || github.ref }}" jobs: build: + timeout-minutes: 10080 strategy: matrix: system: