Update pullfrog.yml to new template with env-based API keys

This commit is contained in:
David Blass
2026-01-13 11:29:53 -05:00
parent 0aa97f4fd0
commit b3e1cf6de3
+9 -17
View File
@@ -1,43 +1,35 @@
# PULLFROG ACTION — DO NOT EDIT EXCEPT WHERE INDICATED
name: Pullfrog name: Pullfrog
on: on:
workflow_dispatch: workflow_dispatch:
inputs: inputs:
prompt: prompt:
type: string type: string
description: 'Agent prompt' description: Agent prompt
workflow_call: workflow_call:
inputs: inputs:
prompt: prompt:
description: 'Agent prompt' description: Agent prompt
type: string type: string
secrets: inherit
permissions: permissions:
id-token: write id-token: write
contents: read
jobs: jobs:
pullfrog: agent:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout code - uses: actions/checkout@v4
uses: actions/checkout@v4
with:
fetch-depth: 1
# optionally, setup your repo here
# the agent can figure this out itself, but pre-setup is more efficient
# - uses: actions/setup-node@v6
- name: Run agent - name: Run agent
uses: pullfrog/action@main uses: pullfrog/action@main
with:
prompt: ${{ inputs.prompt }}
env: env:
log_level: ${{ vars.LOG_LEVEL }} # Feel free to comment out any you won't use
# feel free to comment out any you won't use
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
GOOGLE_API_KEY: ${{ secrets.GOOGLE_API_KEY }} GOOGLE_API_KEY: ${{ secrets.GOOGLE_API_KEY }}
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }} GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
CURSOR_API_KEY: ${{ secrets.CURSOR_API_KEY }} CURSOR_API_KEY: ${{ secrets.CURSOR_API_KEY }}
with:
prompt: ${{ github.event.inputs.prompt }}