Skip to content

Commit 4a9e23b

Browse files
committed
fix CI missing keys.
1 parent 136950f commit 4a9e23b

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ jobs:
3939
run: cd packages/agent && pnpm exec playwright install --with-deps chromium
4040

4141
- name: Test
42+
env:
43+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
44+
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
4245
run: pnpm test
4346

4447
- name: Lint

.github/workflows/issue-comment.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,29 +31,25 @@ jobs:
3131
node-version-file: .nvmrc
3232
cache: 'pnpm'
3333

34-
- name: Install MyCoder
35-
run: pnpm install -g mycoder
34+
- name: Install MyCoder globally
35+
run: |
36+
# Skip tests when installing globally
37+
pnpm install -g mycoder --no-frozen-lockfile --ignore-scripts
3638
3739
- name: Run MyCoder PR command
3840
if: contains(github.event.comment.body, '/mycoder pr')
3941
env:
4042
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4143
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
42-
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
43-
XAI_API_KEY: ${{ secrets.XAI_API_KEY }}
44-
MISTRAL_API_KEY: ${{ secrets.MISTRAL_API_KEY }}
4544
run: |
4645
echo "Running MyCoder to implement PR for issue #${{ github.event.issue.number }}"
47-
mycoder --githubMode true "Implement a PR for GitHub issue #${{ github.event.issue.number }}. The issue can be found at ${{ github.event.issue.html_url }}. Please review the issue details and implement a solution according to the requirements. After implementation, create a pull request that addresses this issue."
46+
mycoder --githubMode true "Implement a PR for GitHub issue #${{ github.event.issue.number }}. Please review the issue details and implement a solution according to the requirements. After implementation, create a pull request that addresses this issue."
4847
4948
- name: Run MyCoder Plan command
5049
if: contains(github.event.comment.body, '/mycoder plan')
5150
env:
5251
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5352
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
54-
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
55-
XAI_API_KEY: ${{ secrets.XAI_API_KEY }}
56-
MISTRAL_API_KEY: ${{ secrets.MISTRAL_API_KEY }}
5753
run: |
5854
echo "Running MyCoder to create implementation plan for issue #${{ github.event.issue.number }}"
59-
mycoder --githubMode true "Review GitHub issue #${{ github.event.issue.number }} at ${{ github.event.issue.html_url }} and create an implementation plan. Post your plan as a comment on the issue. Be thorough and consider all requirements mentioned in the issue description."
55+
mycoder --githubMode true "Review GitHub issue #${{ github.event.issue.number }} and create an implementation plan. Post your plan as a comment on the issue. Be thorough and consider all requirements mentioned in the issue description."

0 commit comments

Comments
 (0)