discussions Search Results · "copilot -p" path:.github/workflows/*.yml language:JavaScript language:Java
Filter by
319 results
Some qualifiers in your query (path, language) are not supported when searching discussions. Try searching for code instead?
:
Discussion Type
Bug
Discussion Content
I keep getting errors from gh copilot -p.
gh copilot -p find all .log files larger than 100MB --allow-tool shell(*)
● I ll search for all .log files ...
:
... --yolo should have pre-authorized it.
Reproduction
Works (--yolo alone):
copilot -p Use m365_get_calendar to get today s events \
--output-format json --model claude-sonnet-4 --yolo ...
:
... ${AZURE_OPENAI_API_KEY} ]] echo Not set || echo Set
Set
❯ copilot --yolo -p Run [[ -z ${AZURE_OPENAI_API_KEY} ]] echo Not set || echo Set
I’ll run the environment-variable check exactly as ...
:
... organization s Copilot policy.
Only built-in servers are available.
What could be causing this?
The workflow YAML is defined as follows:
- name: Run Copilot Issue Review
env:
COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }}
run: |
copilot \
--disable-builtin-mcps \
-p prompt
:
copilot -p In Git, how can I apply a commit from another branch