Skip to content

Commit 894e92c

Browse files
committed
Try fetch depth 2 on PR labeler
1 parent 025ab41 commit 894e92c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/pr-labeler.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- uses: actions/checkout@v6
18+
with:
19+
fetch-depth: 2
1820

1921
- name: Read repo config
2022
uses: pietrobolcato/[email protected]

scripts/set_up_labeler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def get_labeler_config(projects: list[str]) -> dict[str, Any]:
3333
config: dict[str, Any] = {
3434
# Not just language READMEs
3535
"enhancement": [
36-
{"changed-files": [{"all-globs-to-all-files": ["!archive/*/*/README.md"]}]},
36+
{"changed-files": [{"all-globs-to-all-files": ["**"]}]},
3737
{"base-branch": "main"},
3838
],
3939
# README.md and any Markdown file in .github directory

0 commit comments

Comments
 (0)