Skip to content

Commit 0f2eb05

Browse files
authored
Merge pull request #51 from jacobsee/its-a-ghost-build
Add ghost build for non-code changes
2 parents 1a06a6e + 97d5975 commit 0f2eb05

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: PR check without code changes
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- "!**"
7+
- deployment/**
8+
- .vscode/**
9+
- README.md
10+
- lombok.config
11+
- .gitignore
12+
13+
jobs:
14+
build:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Skip build
18+
run: echo "This build has been skipped because the only changes are in non-code directories."

.github/workflows/pull-request-checks.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@ on:
44
pull_request:
55
paths-ignore:
66
- deployment/**
7-
- development/**
87
- .vscode/**
8+
- README.md
9+
- lombok.config
10+
- .gitignore
911

1012
jobs:
1113
build:

0 commit comments

Comments
 (0)