Skip to content

Commit 17aeb12

Browse files
committed
Fix MCP config echo syntax and remove unnecessary whitespace in Copilot CLI setup
1 parent 096ea6d commit 17aeb12

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/actions/copilot/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ runs:
7979
run: |
8080
mkdir -p $XDG_CONFIG_HOME/.copilot
8181
82-
echo '$MCP_CONFIG' > $XDG_CONFIG_HOME/.copilot/mcp-config.json
82+
echo "$MCP_CONFIG" > $XDG_CONFIG_HOME/.copilot/mcp-config.json
8383
cat $XDG_CONFIG_HOME/.copilot/mcp-config.json
8484
8585
# Add current workspace to trusted folders
@@ -95,7 +95,7 @@ runs:
9595
id: copilot
9696
run: |
9797
gh auth status
98-
98+
9999
set +e # Don't exit on error
100100
101101
COPILOT_CMD="copilot"

0 commit comments

Comments
 (0)