0aa97f4fd0
* fix(CI): Changing the API keys to uppercase
Due to c335032
See diff https://github.com/pullfrog/action/commit/c335032c37b5aa957ee3d9f7d37a937ed3ece150#diff-35ec9ad6938f4a0788911257499ca3ccf99c80cca56a22e86706f2c17f636835
* fix: Moving the keys to env
44 lines
1.1 KiB
YAML
44 lines
1.1 KiB
YAML
name: Pullfrog
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
prompt:
|
|
type: string
|
|
description: 'Agent prompt'
|
|
workflow_call:
|
|
inputs:
|
|
prompt:
|
|
description: 'Agent prompt'
|
|
type: string
|
|
|
|
permissions:
|
|
id-token: write
|
|
contents: read
|
|
|
|
jobs:
|
|
pullfrog:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout code
|
|
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
|
|
uses: pullfrog/action@main
|
|
env:
|
|
log_level: ${{ vars.LOG_LEVEL }}
|
|
# 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 }}
|
|
with:
|
|
prompt: ${{ github.event.inputs.prompt }}
|
|
|