Skip to content

Commit 7b70c9a

Browse files
Only build when needed
1 parent 016691c commit 7b70c9a

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/app-docker-publish.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ on:
1010
- cron: '16 18 * * *'
1111
push:
1212
branches: [main]
13+
paths:
14+
- 'vulnerable-tomcat/**'
15+
- '!vulnerable-tomcat/README.md'
1316
# Publish semver tags as releases.
1417
tags: ['v*.*.*']
1518
pull_request:

.github/workflows/docker-publish.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ on:
1010
- cron: '16 18 * * *'
1111
push:
1212
branches: [main]
13+
paths:
14+
- '!vulnerable-tomcat/**'
15+
- '!README.md'
1316
# Publish semver tags as releases.
1417
tags: ['v*.*.*']
1518
pull_request:

0 commit comments

Comments
 (0)