github/labeler: give the sync-labels config item a default value

This shouldn't be necessary and is likely a bug with this beta version
of the labeller.

Also, fix the negative matches for the documentation label.

Follow-up to dd12b452a
Closes #11907
This commit is contained in:
Dan Fandrich 2023-09-21 01:17:32 -07:00
parent 32dcda98e7
commit b2b0534e76
2 changed files with 2 additions and 0 deletions

1
.github/labeler.yml vendored
View File

@ -157,6 +157,7 @@ documentation:
- 'LICENSES/**' - 'LICENSES/**'
- 'README' - 'README'
- 'RELEASE-NOTES' - 'RELEASE-NOTES'
- AllGlobsToAllFiles:
# some negative matches # some negative matches
- '!**/CMakeLists.txt' - '!**/CMakeLists.txt'
- '!docs/examples/**' - '!docs/examples/**'

View File

@ -24,3 +24,4 @@ jobs:
- uses: actions/labeler@v5.0.0-beta.1 - uses: actions/labeler@v5.0.0-beta.1
with: with:
repo-token: "${{ secrets.GITHUB_TOKEN }}" repo-token: "${{ secrets.GITHUB_TOKEN }}"
sync-labels: false