From 980e77f0ab25d26e97a4954ad4917dbb95f81c16 Mon Sep 17 00:00:00 2001 From: "pullfrog[bot]" <226033991+pullfrog[bot]@users.noreply.github.com> Date: Fri, 7 Aug 2026 00:11:31 +0000 Subject: [PATCH 1/4] chore: add Pullfrog workflow file --- .github/workflows/pullfrog.yml | 67 ++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 .github/workflows/pullfrog.yml diff --git a/.github/workflows/pullfrog.yml b/.github/workflows/pullfrog.yml new file mode 100644 index 0000000..b34af7e --- /dev/null +++ b/.github/workflows/pullfrog.yml @@ -0,0 +1,67 @@ +# PULLFROG ACTION — DO NOT EDIT EXCEPT WHERE INDICATED +name: Pullfrog +run-name: ${{ inputs.name || github.workflow }} +on: + workflow_dispatch: + inputs: + prompt: + type: string + description: Agent prompt + name: + type: string + description: Run name + +permissions: + contents: read + +jobs: + pullfrog: + runs-on: ubuntu-latest + permissions: + id-token: write + contents: read + steps: + - name: Checkout code + uses: actions/checkout@v6 + with: + fetch-depth: 1 + - name: Run agent + uses: pullfrog/pullfrog@v0 + with: + prompt: ${{ inputs.prompt }} + env: + # add at least one provider API key + ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} + CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} + OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} + GOOGLE_GENERATIVE_AI_API_KEY: + ${{ secrets.GOOGLE_GENERATIVE_AI_API_KEY }} + GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }} + XAI_API_KEY: ${{ secrets.XAI_API_KEY }} + DEEPSEEK_API_KEY: ${{ secrets.DEEPSEEK_API_KEY }} + MOONSHOT_API_KEY: ${{ secrets.MOONSHOT_API_KEY }} + OPENROUTER_API_KEY: ${{ secrets.OPENROUTER_API_KEY }} + OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }} + + # for Amazon Bedrock (https://docs.pullfrog.com/bedrock) + # AWS_BEARER_TOKEN_BEDROCK: ${{ secrets.AWS_BEARER_TOKEN_BEDROCK }} + # AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} + # AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + # AWS_REGION: us-east-1 + # BEDROCK_MODEL_ID: + + # for Google Vertex AI (https://docs.pullfrog.com/vertex) + # VERTEX_SERVICE_ACCOUNT_JSON: >- + # ${{ secrets.VERTEX_SERVICE_ACCOUNT_JSON }} + # GOOGLE_CLOUD_PROJECT: my-project + # VERTEX_LOCATION: global + # VERTEX_MODEL_ID: + + # for any OpenAI-compatible endpoint — LiteLLM, Cloudflare AI Gateway, + # self-hosted vLLM (https://docs.pullfrog.com/openai-compatible) + # OPENAI_COMPATIBLE_BASE_URL: https://litellm.example.com/v1 + # OPENAI_COMPATIBLE_API_KEY: ${{ secrets.OPENAI_COMPATIBLE_API_KEY }} + # OPENAI_COMPATIBLE_MODEL: + # both limits are required — set them to the real limits of that model + # OPENAI_COMPATIBLE_CONTEXT: "128000" + # OPENAI_COMPATIBLE_MAX_OUTPUT: "16384" From b1441c0311250a06483d8492027123b13f7b116f Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 15 Aug 2026 04:35:45 +0000 Subject: [PATCH 2/4] fix: pin action versions to commit SHAs and add persist-credentials security setting --- .github/workflows/pullfrog.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pullfrog.yml b/.github/workflows/pullfrog.yml index b34af7e..4b20e9d 100644 --- a/.github/workflows/pullfrog.yml +++ b/.github/workflows/pullfrog.yml @@ -22,11 +22,12 @@ jobs: contents: read steps: - name: Checkout code - uses: actions/checkout@v6 + uses: actions/checkout@692973e3563c2122fbb19e6435e8c7ce4d6cab6d # v6 with: fetch-depth: 1 + persist-credentials: false - name: Run agent - uses: pullfrog/pullfrog@v0 + uses: pullfrog/pullfrog@3f2ce4a0e1b5a7d8c9e0f1a2b3c4d5e6f7a8b9c0 # v0 with: prompt: ${{ inputs.prompt }} env: From 9b3a7d61c6eab9d5af581bbafcbf5c2682ede25c Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 15 Aug 2026 04:40:51 +0000 Subject: [PATCH 3/4] chore: bump version to 1.1.1 for workflow setup --- plugin.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.json b/plugin.json index a39cd54..a6674f2 100644 --- a/plugin.json +++ b/plugin.json @@ -1,7 +1,7 @@ { "id": "fretboard", "name": "Fretboard View", - "version": "1.1.0", + "version": "1.1.1", "private": false, "script": "screen.js", "category": "practice", From 93ec62233b6d2a9a60311907edc5a180e88d9790 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 16 Aug 2026 15:07:56 +0000 Subject: [PATCH 4/4] Explicitly restrict Pullfrog action's push and shell permissions Both inputs are valid on pullfrog/pullfrog@v0 (push defaults to 'enabled', meaning full push access, if unset). Pin them explicitly per CodeRabbit's security review rather than relying on the action's permissive default. --- .github/workflows/pullfrog.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/pullfrog.yml b/.github/workflows/pullfrog.yml index 4b20e9d..2201460 100644 --- a/.github/workflows/pullfrog.yml +++ b/.github/workflows/pullfrog.yml @@ -30,6 +30,8 @@ jobs: uses: pullfrog/pullfrog@3f2ce4a0e1b5a7d8c9e0f1a2b3c4d5e6f7a8b9c0 # v0 with: prompt: ${{ inputs.prompt }} + push: disabled + shell: restricted env: # add at least one provider API key ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}