From 8574d0758ec59c068fd318cdeb7bd01e797e77c2 Mon Sep 17 00:00:00 2001
From: strawberry <strawberry@puppygock.gay>
Date: Thu, 25 Apr 2024 23:49:17 -0400
Subject: [PATCH] add concurrency group and paths-ignore to ci.yml

Signed-off-by: strawberry <strawberry@puppygock.gay>
---
 .github/workflows/ci.yml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index e5632dd3..4d42c428 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -3,12 +3,20 @@ name: CI and Artifacts
 on:
     pull_request:
     push:
+        # documentation workflow deals with this
+        paths-ignore:
+          - '*.md'
+          - 'docs/**'
         branches:
             - main
             - dev
     # Allows you to run this workflow manually from the Actions tab
     workflow_dispatch:
 
+concurrency:
+    group: ${{ github.head_ref || github.ref_name }}
+    cancel-in-progress: true
+
 env:
     # Required to make some things output color
     TERM: ansi