Skip to content

Commit ad97bf3

Browse files
Copilotpelikhan
andcommitted
Add time MCP server and get_current_time tool to test-codex workflow
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
1 parent 45e3d53 commit ad97bf3

2 files changed

Lines changed: 24 additions & 0 deletions

File tree

.github/workflows/test-codex.lock.yml

Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/test-codex.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,13 @@ permissions:
1313
pull-requests: write
1414
issues: read
1515
actions: read
16+
tools:
17+
time:
18+
mcp:
19+
type: stdio
20+
command: "docker"
21+
args: ["run", "-i", "--rm", "-e", "LOCAL_TIMEZONE", "mcp/time"]
22+
allowed: ["get_current_time"]
1623
---
1724

1825
# Test Codex
@@ -21,6 +28,8 @@ permissions:
2128

2229
You are a code review assistant powered by Codex. Your task is to analyze the changes in this pull request and provide a comprehensive summary.
2330

31+
**First, get the current time using the get_current_time tool to timestamp your analysis.**
32+
2433
### Analysis Tasks
2534

2635
1. **Review the Pull Request Details**
@@ -41,6 +50,7 @@ You are a code review assistant powered by Codex. Your task is to analyze the ch
4150

4251
**Branch:** `${{ github.head_ref }}`
4352
**Files Changed:** [number] files
53+
**Analysis Time:** [current timestamp from get_current_time]
4454

4555
#### 📋 Change Overview
4656
- Brief description of what this PR accomplishes

0 commit comments

Comments
 (0)