Skip to content

Commit a23fe27

Browse files
geekosaurMikolaj
authored andcommitted
changelogs are docs
We don't mark changelogs as documentation, so CI unnecessarily does full checks when we add changelogs. Correct this. NOTE: we only accept changelog files from top-level subdirectories. There are changelog files in various tests that must be considered to be "code". (cherry picked from commit 871c0d4)
1 parent ec75e45 commit a23fe27

File tree

4 files changed

+36
-0
lines changed

4 files changed

+36
-0
lines changed

Diff for: .github/workflows/bootstrap.skip.yml

+9
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,22 @@ on:
1919
- 'doc/**'
2020
- '**/README.md'
2121
- 'CONTRIBUTING.md'
22+
- "changelog.d/**"
23+
# only top level for these, because various test packages have them too
24+
- "*/ChangeLog.md"
25+
- "*/changelog.md"
26+
- "release-notes/**"
2227
branches:
2328
- master
2429
pull_request:
2530
paths:
2631
- 'doc/**'
2732
- '**/README.md'
2833
- 'CONTRIBUTING.md'
34+
- "changelog.d/**"
35+
- "*/ChangeLog.md"
36+
- "*/changelog.md"
37+
- "release-notes/**"
2938
release:
3039
types:
3140
- created

Diff for: .github/workflows/bootstrap.yml

+9
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,22 @@ on:
1414
- 'doc/**'
1515
- '**/README.md'
1616
- 'CONTRIBUTING.md'
17+
- "changelog.d/**"
18+
# only top level for these, because various test packages have them too
19+
- "*/ChangeLog.md"
20+
- "*/changelog.md"
21+
- "release-notes/**"
1722
branches:
1823
- master
1924
pull_request:
2025
paths-ignore:
2126
- 'doc/**'
2227
- '**/README.md'
2328
- 'CONTRIBUTING.md'
29+
- "changelog.d/**"
30+
- "*/ChangeLog.md"
31+
- "*/changelog.md"
32+
- "release-notes/**"
2433
release:
2534
types:
2635
- created

Diff for: .github/workflows/check-sdist.yml

+9
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,22 @@ on:
1111
- "doc/**"
1212
- "**/README.md"
1313
- "CONTRIBUTING.md"
14+
- "changelog.d/**"
15+
# only top level for these, because various test packages have them too
16+
- "*/ChangeLog.md"
17+
- "*/changelog.md"
18+
- "release-notes/**"
1419
branches:
1520
- master
1621
pull_request:
1722
paths-ignore:
1823
- "doc/**"
1924
- "**/README.md"
2025
- "CONTRIBUTING.md"
26+
- "changelog.d/**"
27+
- "*/ChangeLog.md"
28+
- "*/changelog.md"
29+
- "release-notes/**"
2130
release:
2231
types:
2332
- created

Diff for: .github/workflows/validate.skip.yml

+9
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,22 @@ on:
1919
- 'doc/**'
2020
- '**/README.md'
2121
- 'CONTRIBUTING.md'
22+
- "changelog.d/**"
23+
# only top level for these, because various test packages have them too
24+
- "*/ChangeLog.md"
25+
- "*/changelog.md"
26+
- "release-notes/**"
2227
branches:
2328
- master
2429
pull_request:
2530
paths:
2631
- 'doc/**'
2732
- '**/README.md'
2833
- 'CONTRIBUTING.md'
34+
- "changelog.d/**"
35+
- "*/ChangeLog.md"
36+
- "*/changelog.md"
37+
- "release-notes/**"
2938
release:
3039
types:
3140
- created

0 commit comments

Comments
 (0)