Set lockdown: false on daily-syntax-error-quality workflow#15811
Merged
Set lockdown: false on daily-syntax-error-quality workflow#15811
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update lockdown setting in agentic workflow
Set lockdown: false on daily-syntax-error-quality workflow
Feb 14, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR explicitly disables lockdown mode for the daily-syntax-error-quality workflow by adding lockdown: false to the GitHub tools configuration. Lockdown mode filters public repository content to trusted contributors only, which is unnecessary for this workflow since it only analyzes internal workflow files for syntax errors and doesn't process untrusted user input.
Changes:
- Added
lockdown: falseconfiguration to the workflow frontmatter undertools.github - Recompiled the workflow lock file, which removed the automatic lockdown detection step and associated environment variables
- Updated the frontmatter hash to reflect the configuration change
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
.github/workflows/daily-syntax-error-quality.md |
Added lockdown: false under tools.github to explicitly disable lockdown mode |
.github/workflows/daily-syntax-error-quality.lock.yml |
Removed automatic lockdown detection step, GITHUB_MCP_LOCKDOWN environment variable from env section, and GITHUB_LOCKDOWN_MODE from MCP server config; updated frontmatter hash |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
daily-syntax-error-qualityworkflow was missing an explicit lockdown configuration, causing it to run automatic lockdown detection unnecessarily.Changes
lockdown: falseto GitHub tools configuration in workflow frontmatterGITHUB_MCP_LOCKDOWNenvironment variablesContext
This workflow analyzes compiler error messages by testing syntax errors in internal workflow files. It doesn't process untrusted user input, so lockdown mode (which filters public repository content to trusted contributors only) is not required.
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com/graphql/usr/bin/gh gh run view 22026011440 --json name,workflowName,headBranch(http block)/usr/bin/gh gh pr list --head copilot/update-agentic-workflow-lockdown --json number,title,url(http block)/usr/bin/gh /usr/bin/gh api graphql -f query=query($owner: String!, $name: String!) { repository(owner: $owner, name: $name) { hasDiscussionsEnabled } } -f owner=github -f name=gh-aw(http block)https://api.github.com/repos/actions/setup-go/git/ref/tags/v5/usr/bin/gh gh api /repos/actions/setup-go/git/ref/tags/v5 --jq .object.sha(http block)/usr/bin/gh gh api /repos/actions/setup-go/git/ref/tags/v5 --jq .object.sha --local user.email x_amd64/compile(http block)/usr/bin/gh gh api /repos/actions/setup-go/git/ref/tags/v5 --jq .object.sha --local khan <4175913+pelikhan@users.noreply.github.com> x_amd64/vet(http block)https://api.github.com/user/usr/bin/gh gh api user --jq .login(http block)/usr/bin/gh gh api user --jq .login --local user.email x_amd64/compile(http block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.