add concurrency group and paths-ignore to ci.yml

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-04-25 23:49:17 -04:00 committed by June
parent 59199e8f66
commit 8574d0758e

View file

@ -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