From 1cc9738dcb40a6582908c1fcaa2ae585e495df82 Mon Sep 17 00:00:00 2001 From: Chris Thrasher Date: Sat, 8 Jul 2023 20:53:32 -0600 Subject: [PATCH] Automatically cancel previous active pipelines when branch is updated --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c29a928c8..1acdce150 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,6 +2,10 @@ name: CI on: [push, pull_request, workflow_dispatch] +concurrency: + group: environment-${{github.ref}} + cancel-in-progress: true + env: DISPLAY: ":99" # Display number to use for the X server GALLIUM_DRIVER: llvmpipe # Use Mesa 3D software OpenGL renderer