|
1 | 1 | # PULLFROG ACTION — DO NOT EDIT EXCEPT WHERE INDICATED |
2 | 2 | name: Pullfrog |
3 | 3 | 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 |
14 | 15 |
|
15 | 16 | permissions: |
16 | | - id-token: write |
17 | | - contents: read |
| 17 | + id-token: write |
18 | 18 |
|
19 | 19 | 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 |
27 | 24 |
|
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