File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3535 "args": ["-y", "actions-toolkit-mcp"],
3636 "tools": ["*"],
3737 "env": {
38- "GITHUB_STEP_SUMMARY": "${GITHUB_STEP_SUMMARY}"
38+ "GITHUB_STEP_SUMMARY": "${GITHUB_STEP_SUMMARY}",
39+ "GITHUB_ENV": "${GITHUB_ENV}",
40+ "RUNNER_DEBUG": "${RUNNER_DEBUG}",
41+ "GITHUB_SERVER_URL": "${GITHUB_SERVER_URL}",
42+ "GITHUB_REPOSITORY": "${GITHUB_REPOSITORY}",
43+ "GITHUB_EVENT_PATH": "${GITHUB_EVENT_PATH}"
3944 }
4045 }
4146 }'
4651 cat $XDG_CONFIG_HOME/.copilot/mcp-config.json
4752 env:
4853 GITHUB_STEP_SUMMARY: ${{ github.step_summary }}
54+ GITHUB_ENV: ${{ github.env }}
55+ RUNNER_DEBUG: ${{ runner.debug }}
56+ GITHUB_SERVER_URL: ${{ github.server_url }}
57+ GITHUB_REPOSITORY: ${{ github.repository }}
58+ GITHUB_EVENT_PATH: ${{ github.event_path }}
4959 shell: bash
5060 - run : |
5161 ls -al $XDG_CONFIG_HOME/.copilot
6474 - run : copilot -p "$PROMPT" --allow-all-tools --log-level all --log-dir ~/.copilot/logs --save-trajectory-output ~/.copilot/trajectory.md
6575 id : copilot
6676 env :
67- GITHUB_STEP_SUMMARY : ${{ github.step_summary }}
6877 GH_TOKEN : ${{ inputs.github-token }}
6978 PROMPT : ${{ inputs.prompt }}
7079 shell : bash
7685 ~/.copilot/logs/
7786 ~/.copilot/trajectory.md
7887 /home/runner/.config/
79- # - uses: mxschmitt/action-tmate@v3
88+
8089
Original file line number Diff line number Diff line change 99 github-token : ${{ secrets.PAT }}
1010 prompt : |
1111 First print the env variables.
12-
13- Create annotations and write a job summary using mcp tools.
1412
15- If something fails try to understand why and suggest a fix.
13+ explore the runner and runner OS to understand the environment
14+ Search /home/runner
15+ explain files you find
1616
17+ Create annotations and write a job summary using mcp tools.
You can’t perform that action at this time.
0 commit comments