Update pullfrog.yml to new template with env-based API keys #2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # PULLFROG ACTION — DO NOT EDIT EXCEPT WHERE INDICATED | ||
| name: Pullfrog | ||
| on: | ||
| workflow_dispatch: | ||
| inputs: | ||
| prompt: | ||
| type: string | ||
| description: Agent prompt | ||
| workflow_call: | ||
| inputs: | ||
| prompt: | ||
| description: Agent prompt | ||
| type: string | ||
| secrets: inherit | ||
| permissions: | ||
| id-token: write | ||
| jobs: | ||
| agent: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - name: Run agent | ||
| uses: pullfrog/action@main | ||
| with: | ||
| prompt: ${{ inputs.prompt }} | ||
| env: | ||
| # Feel free to comment out any you won't use | ||
| ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} | ||
| OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} | ||
| GOOGLE_API_KEY: ${{ secrets.GOOGLE_API_KEY }} | ||
| GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }} | ||
| CURSOR_API_KEY: ${{ secrets.CURSOR_API_KEY }} | ||