Skip to content

Commit db90e8c

Browse files
committed
build: add paths-ignore to push and pull request triggers to avoid unnecessary workflow runs for documentation and development file changes
1 parent db1626e commit db90e8c

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/docker-publish.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,21 @@ on:
66
- main
77
tags:
88
- 'v*.*.*'
9+
paths-ignore:
10+
- '**.md'
11+
- 'LICENSE'
12+
- '.gitignore'
13+
- 'docker-compose.yml'
14+
- 'Makefile'
915
pull_request:
1016
branches:
1117
- main
18+
paths-ignore:
19+
- '**.md'
20+
- 'LICENSE'
21+
- '.gitignore'
22+
- 'docker-compose.yml'
23+
- 'Makefile'
1224

1325
env:
1426
IMAGE_NAME: ${{ github.repository }}

0 commit comments

Comments
 (0)