diff --git a/.github/workflows/pullfrog.yml b/.github/workflows/pullfrog.yml index af248f8..1c3bc78 100644 --- a/.github/workflows/pullfrog.yml +++ b/.github/workflows/pullfrog.yml @@ -6,32 +6,36 @@ on: prompt: type: string description: Agent prompt - workflow_call: - inputs: - prompt: - description: Agent prompt - type: string permissions: id-token: write - contents: read + contents: write + pull-requests: write + issues: write + actions: read + checks: read jobs: pullfrog: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - name: Checkout code + uses: actions/checkout@v6 with: fetch-depth: 1 - - name: Run agent - uses: pullfrog/pullfrog@main + uses: pullfrog/pullfrog@v0 with: - prompt: ${{ inputs.prompt }} + 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 }} + # add any additional keys your agent(s) need + # optionally, 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 }} + MISTRAL_API_KEY: \${{ secrets.MISTRAL_API_KEY }} + GROQ_API_KEY: \${{ secrets.GROQ_API_KEY }} + DEEPSEEK_API_KEY: \${{ secrets.DEEPSEEK_API_KEY }} + OPENROUTER_API_KEY: \${{ secrets.OPENROUTER_API_KEY }} \ No newline at end of file