| title | GitHub Lockdown Mode | ||
|---|---|---|---|
| description | GitHub lockdown mode has been superseded by Integrity Filtering, which provides finer-grained content filtering based on author trust and merge status. | ||
| sidebar |
|
Note
GitHub Lockdown Mode is now replaced by GitHub Integrity Filtering. Use Integrity Filtering instead. Integrity filtering provides finer-grained control over which content the agent can see, based on author trust and merge status, and works without requiring additional authentication.
Replace lockdown: true with min-integrity: approved:
# Before (deprecated)
tools:
github:
lockdown: true
# After (recommended)
tools:
github:
min-integrity: approvedReplace lockdown: false with min-integrity: none:
# Before (deprecated)
tools:
github:
lockdown: false
# After (recommended)
tools:
github:
min-integrity: none- Integrity Filtering — Complete reference for
min-integrity, integrity levels, user blocking, and approval labels - GitHub Tools Reference — Full
tools.githubconfiguration