Skip to content

Commit c687362

Browse files
committed
Update config.json structure to include additional settings and trusted folders
1 parent 61c3637 commit c687362

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/actions/copilot/action.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,21 @@ runs:
5050
- run: |
5151
ls -al $XDG_CONFIG_HOME/.copilot
5252
CONFIG='{
53-
"trusted_folders": ["/"]
53+
"banner": "never",
54+
"render_markdown": true,
55+
"screen_reader": false,
56+
"theme": "auto",
57+
"trusted_folders": [
58+
"/home/runner"
59+
]
5460
}'
5561
echo "$CONFIG" > $XDG_CONFIG_HOME/.copilot/config.json
5662
cat $XDG_CONFIG_HOME/.copilot/config.json
5763
shell: bash
5864
- run: copilot -p "$PROMPT" --allow-all-tools --log-level all --log-dir ~/.copilot/logs --save-trajectory-output ~/.copilot/trajectory.md
5965
id: copilot
6066
env:
67+
GITHUB_STEP_SUMMARY: ${{ github.step_summary }}
6168
GH_TOKEN: ${{ inputs.github-token }}
6269
PROMPT: ${{ inputs.prompt }}
6370
shell: bash

0 commit comments

Comments
 (0)