add concurrency group and paths-ignore to ci.yml
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
59199e8f66
commit
8574d0758e
1 changed files with 8 additions and 0 deletions
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue