Skip to content

Commit b30d4c1

Browse files
committed
ci: enhance workflows with concurrency settings and paths-ignore for pull requests
1 parent 0b0b1ff commit b30d4c1

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ on:
55
# Uncomment below when VPS is ready:
66
# push:
77
# branches: [ "main" ]
8+
# paths-ignore:
9+
# - 'docs/**'
10+
# - '.gitignore'
11+
# - 'LICENSE'
12+
13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.ref }}
15+
cancel-in-progress: false
816

917
jobs:
1018
build-test-and-deploy:

.github/workflows/test.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@ name: Test
33
on:
44
pull_request:
55
branches: [ "**" ]
6+
paths-ignore:
7+
- 'docs/**'
8+
- '.gitignore'
9+
- 'LICENSE'
10+
11+
concurrency:
12+
group: ${{ github.workflow }}-${{ github.ref }}
13+
cancel-in-progress: true
614

715
jobs:
816
build-and-test:

0 commit comments

Comments
 (0)