Skip to content

Commit b0ff15d

Browse files
committed
chore(ci): skip build_and_test and release workflows for PRs updating COPYRIGHT and LICENSE files
1 parent 3aa29a8 commit b0ff15d

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/build_and_test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
paths-ignore:
55
# ignore markdown files (CHANGELOG.md, README.md, etc.)
66
- '**/*.md'
7+
- 'COPYRIGHT'
8+
- 'LICENSE'
79
- '.github/workflows/release.yml'
810
- 'changelog/**'
911
- 'kong.conf.default'
@@ -13,6 +15,7 @@ on:
1315
- '**/*.md'
1416
# ignore PRs for the generated COPYRIGHT file
1517
- 'COPYRIGHT'
18+
- 'LICENSE'
1619
branches:
1720
- master
1821
- release/*

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on: # yamllint disable-line rule:truthy
66
pull_request:
77
paths-ignore:
88
- '**/*.md'
9+
- 'COPYRIGHT'
10+
- 'LICENSE'
911
- '.github/workflows/build_and_test.yml'
1012
- 'changelog/**'
1113
- 'kong.conf.default'

0 commit comments

Comments
 (0)