Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions docs/github-settings/8. labels.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,13 @@ You can use the REST API to manage labels for a repository and add or remove lab
```yaml
# These settings are synced to GitHub by https://github.com/github/safe-settings
labels:
- name: bug
color: CC0000
description: An issue with the system
include:
- name: bug
color: CC0000
description: An issue with the system
exclude:
# don't delete any labels that start with "release"
- name: ^release
```

## Team API Spec
Expand Down
7 changes: 6 additions & 1 deletion schema/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,12 @@
"description": "Ignore any labels matching these regexes (don't delete them)",
"type": "array",
"items": {
"type": "string"
"type": "object",
"properties": {
"name": {
"type": "string"
}
}
}
}
}
Expand Down