Skip to content

Commit 6fd3c19

Browse files
committed
Update pullfrog.yml to new template with env-based API keys
1 parent b8c15b1 commit 6fd3c19

File tree

1 file changed

+27
-34
lines changed

1 file changed

+27
-34
lines changed

.github/workflows/pullfrog.yml

Lines changed: 27 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,35 @@
11
# PULLFROG ACTION — DO NOT EDIT EXCEPT WHERE INDICATED
22
name: Pullfrog
33
on:
4-
workflow_dispatch:
5-
inputs:
6-
prompt:
7-
type: string
8-
description: Agent prompt
9-
workflow_call:
10-
inputs:
11-
prompt:
12-
description: Agent prompt
13-
type: string
4+
workflow_dispatch:
5+
inputs:
6+
prompt:
7+
type: string
8+
description: Agent prompt
9+
workflow_call:
10+
inputs:
11+
prompt:
12+
description: Agent prompt
13+
type: string
14+
secrets: inherit
1415

1516
permissions:
16-
id-token: write
17-
contents: read
17+
id-token: write
1818

1919
jobs:
20-
pullfrog:
21-
runs-on: ubuntu-latest
22-
steps:
23-
- name: Checkout code
24-
uses: actions/checkout@v4
25-
with:
26-
fetch-depth: 1
20+
agent:
21+
runs-on: ubuntu-latest
22+
steps:
23+
- uses: actions/checkout@v4
2724

28-
# Optionally, setup your repo here
29-
# The agent can generally figure this out itself, but pre-setup can be more efficient
30-
# - uses: actions/setup-node@v6
31-
32-
- name: Run agent
33-
uses: pullfrog/action@v0
34-
with:
35-
prompt: ${{ github.event.inputs.prompt }}
36-
37-
# Feel free to comment out any you won't use
38-
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
39-
openai_api_key: ${{ secrets.OPENAI_API_KEY }}
40-
google_api_key: ${{ secrets.GOOGLE_API_KEY }}
41-
gemini_api_key: ${{ secrets.GEMINI_API_KEY }}
42-
cursor_api_key: ${{ secrets.CURSOR_API_KEY }}
25+
- name: Run agent
26+
uses: pullfrog/action@main
27+
with:
28+
prompt: ${{ inputs.prompt }}
29+
env:
30+
# Feel free to comment out any you won't use
31+
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
32+
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
33+
GOOGLE_API_KEY: ${{ secrets.GOOGLE_API_KEY }}
34+
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
35+
CURSOR_API_KEY: ${{ secrets.CURSOR_API_KEY }}

0 commit comments

Comments
 (0)