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: on:
pull_request: pull_request:
push: push:
# documentation workflow deals with this
paths-ignore:
- '*.md'
- 'docs/**'
branches: branches:
- main - main
- dev - dev
# Allows you to run this workflow manually from the Actions tab # Allows you to run this workflow manually from the Actions tab
workflow_dispatch: workflow_dispatch:
concurrency:
group: ${{ github.head_ref || github.ref_name }}
cancel-in-progress: true
env: env:
# Required to make some things output color # Required to make some things output color
TERM: ansi TERM: ansi