Skip to content

Commit 2ee2f94

Browse files
authored
Merge pull request #272 from sourcectl/ci/astro-build-path-filters
ci: add path filters to astro-build workflow
2 parents 5010fb3 + 285c474 commit 2ee2f94

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/astro-build.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,31 @@ on:
44
push:
55
branches:
66
- main
7+
paths:
8+
- 'src/**'
9+
- 'public/**'
10+
- 'package.json'
11+
- 'package-lock.json'
12+
- 'astro.config.mjs'
13+
- 'tailwind.config.cjs'
14+
- 'tsconfig.json'
15+
- '.node-version'
16+
- 'Makefile'
17+
- 'netlify.toml'
18+
- '.github/workflows/astro-build.yml'
719
pull_request:
20+
paths:
21+
- 'src/**'
22+
- 'public/**'
23+
- 'package.json'
24+
- 'package-lock.json'
25+
- 'astro.config.mjs'
26+
- 'tailwind.config.cjs'
27+
- 'tsconfig.json'
28+
- '.node-version'
29+
- 'Makefile'
30+
- 'netlify.toml'
31+
- '.github/workflows/astro-build.yml'
832
schedule:
933
- cron: '5 1 * * *' # Run nightly
1034
workflow_dispatch:

0 commit comments

Comments
 (0)