From d6b1395f007e70fe44d682463ec1bc852358638d Mon Sep 17 00:00:00 2001 From: Gabi Kourilova <91887553+gabipodolnikova@users.noreply.github.com> Date: Mon, 23 Nov 2026 08:32:21 +0100 Subject: [PATCH 1/2] chore: initialize fullsend per-repo installation --- .github/workflows/fullsend.yaml | 30 +++++++++++++++++++++--------- .github/workflows/prioritize.yml | 6 +++++- 2 files changed, 26 insertions(+), 10 deletions(-) diff --git a/.github/workflows/fullsend.yaml b/.github/workflows/fullsend.yaml index 74a483db..5f35bd5e 100644 --- a/.github/workflows/fullsend.yaml +++ b/.github/workflows/fullsend.yaml @@ -5,10 +5,17 @@ # Routes events to agent workflows via reusable-dispatch.yml. # All agent execution happens in this repository's context. # -# Security: pull_request_target runs the BASE branch version of this workflow, -# preventing PRs from modifying it to exfiltrate credentials. -# This shim never checks out PR code, so it is not vulnerable to "pwn request" -# attacks. +# Security: pull request events use pull_request, not pull_request_target +# (GitHub blocks pull_request_target by default in public repositories; +# ADR 0164). On pull_request this workflow runs from the PR's own +# copy and forwards the repository secrets, so the dispatch job runs only for +# same-repo PRs, whose authors already have write access. Fork PRs are skipped +# here and again in reusable-dispatch.yml (a fork cannot edit the upstream +# copy; a vendored copy runs from the PR); a maintainer comments /fs-review +# to review one. In private repositories keep "Send secrets to workflows +# from pull requests" and "Send write tokens to workflows from pull +# requests" (Settings > Actions > General) turned off. +# reusable-dispatch.yml checks out the base side for pull request events. # # Routing: this shim forwards the raw event context to reusable-dispatch.yml, # which determines the stage and runs the agent inline (ADR 62). @@ -23,7 +30,7 @@ on: types: [opened, edited, labeled] issue_comment: types: [created] - pull_request_target: + pull_request: types: [opened, synchronize, ready_for_review, closed, labeled, unlabeled] pull_request_review: types: [submitted] @@ -33,11 +40,12 @@ permissions: {} jobs: dispatch: if: >- - (github.event_name != 'pull_request_target' && github.event_name != 'pull_request_review' + (github.event_name != 'pull_request' && github.event_name != 'pull_request_review' || github.event.pull_request.head.ref != 'fullsend/scaffold-install') + && (github.event_name != 'pull_request' + || github.event.pull_request.head.repo.id == github.repository_id) && (github.event_name != 'issue_comment' - || (startsWith(github.event.comment.body, '/fs-') - && github.event.comment.user.type != 'Bot')) + || startsWith(github.event.comment.body, '/fs-')) permissions: actions: write id-token: write @@ -45,7 +53,7 @@ jobs: issues: write packages: read pull-requests: write - uses: fullsend-ai/fullsend/.github/workflows/reusable-dispatch.yml@v0.52.0 + uses: fullsend-ai/fullsend/.github/workflows/reusable-dispatch.yml@d11de3ea0dde5aa652110b6716c19e000c426df7 # v0.57.1 with: event_action: ${{ github.event.action }} mint_url: ${{ vars.FULLSEND_MINT_URL }} @@ -59,6 +67,10 @@ jobs: FULLSEND_INFERENCE_GATEWAY_API_KEY: ${{ secrets.FULLSEND_INFERENCE_GATEWAY_API_KEY }} OTEL_EXPORTER_OTLP_TRACES_HEADERS: ${{ secrets.OTEL_EXPORTER_OTLP_TRACES_HEADERS }} OTEL_EXPORTER_OTLP_HEADERS: ${{ secrets.OTEL_EXPORTER_OTLP_HEADERS }} + FULLSEND_JIRA_TOKEN: ${{ secrets.FULLSEND_JIRA_TOKEN }} + FULLSEND_JIRA_EMAIL: ${{ secrets.FULLSEND_JIRA_EMAIL }} + FULLSEND_JIRA_CLIENT_ID: ${{ secrets.FULLSEND_JIRA_CLIENT_ID }} + FULLSEND_JIRA_CLIENT_SECRET: ${{ secrets.FULLSEND_JIRA_CLIENT_SECRET }} FULLSEND_GITHUB_RUNNER_SECRETS: ${{ secrets.FULLSEND_GITHUB_RUNNER_SECRETS }} stop-fix: diff --git a/.github/workflows/prioritize.yml b/.github/workflows/prioritize.yml index b35b9ab0..51f19af0 100644 --- a/.github/workflows/prioritize.yml +++ b/.github/workflows/prioritize.yml @@ -36,7 +36,7 @@ concurrency: jobs: prioritize: - uses: fullsend-ai/fullsend/.github/workflows/reusable-prioritize.yml@v0.52.0 + uses: fullsend-ai/fullsend/.github/workflows/reusable-prioritize.yml@d11de3ea0dde5aa652110b6716c19e000c426df7 # v0.57.1 with: event_type: ${{ inputs.event_type }} source_repo: ${{ inputs.source_repo }} @@ -52,4 +52,8 @@ jobs: FULLSEND_INFERENCE_GATEWAY_API_KEY: ${{ secrets.FULLSEND_INFERENCE_GATEWAY_API_KEY }} OTEL_EXPORTER_OTLP_TRACES_HEADERS: ${{ secrets.OTEL_EXPORTER_OTLP_TRACES_HEADERS }} OTEL_EXPORTER_OTLP_HEADERS: ${{ secrets.OTEL_EXPORTER_OTLP_HEADERS }} + FULLSEND_JIRA_TOKEN: ${{ secrets.FULLSEND_JIRA_TOKEN }} + FULLSEND_JIRA_EMAIL: ${{ secrets.FULLSEND_JIRA_EMAIL }} + FULLSEND_JIRA_CLIENT_ID: ${{ secrets.FULLSEND_JIRA_CLIENT_ID }} + FULLSEND_JIRA_CLIENT_SECRET: ${{ secrets.FULLSEND_JIRA_CLIENT_SECRET }} FULLSEND_GITHUB_RUNNER_SECRETS: ${{ secrets.FULLSEND_GITHUB_RUNNER_SECRETS }} From 74fc7bd354e2a4307aa3029c0504e89a849f9bb1 Mon Sep 17 00:00:00 2001 From: Gabi Podolnikova Date: Mon, 23 Nov 2026 08:33:48 +0100 Subject: [PATCH 2/2] chore(fullsend): bump overlay to agents v0.57.1 and migrate config schema --- .fullsend/config.yaml | 11 ++++++----- .fullsend/review.yaml | 4 ++-- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.fullsend/config.yaml b/.fullsend/config.yaml index 924ed113..30f1eb41 100644 --- a/.fullsend/config.yaml +++ b/.fullsend/config.yaml @@ -4,6 +4,12 @@ # This file configures fullsend for per-repo installation mode. # See https://fullsend.sh/docs/guides/infrastructure/layered-config-reference version: "1" +tracker: + github: + allowed_targets: + repos: + - fullsend-ai/fullsend + - fullsend-ai/agents runtime: pi roles: - review @@ -27,11 +33,6 @@ agents: allowed_remote_resources: - https://raw.githubusercontent.com/fullsend-ai/fullsend/ - https://raw.githubusercontent.com/fullsend-ai/agents/ -create_issues: - allow_targets: - repos: - - fullsend-ai/fullsend - - fullsend-ai/agents inference: project: firefly-868139 wif_provider: projects/275116376890/locations/global/workloadIdentityPools/uie-github-fullsend-inference/providers/gh-repo-764710422 diff --git a/.fullsend/review.yaml b/.fullsend/review.yaml index c4288cd1..79b554f9 100644 --- a/.fullsend/review.yaml +++ b/.fullsend/review.yaml @@ -1,7 +1,7 @@ # Harness overlay for the review agent. -# Base: fullsend-ai/agents v0.52.0 (matches the repo's fullsend workflow pin). +# Base: fullsend-ai/agents v0.57.1 (matches the repo's fullsend workflow pin). # Per-key merge: unset keys inherit from the base harness (ADR 0045/0055). -base: https://raw.githubusercontent.com/fullsend-ai/agents/f9908adce062d7e0a37635aac4b6c889835476cc/harness/review.yaml#sha256=f59b05ff7df3e8d009a6b6cf385057cd6b247e42e1fbf52f488d579a674f79d7 +base: https://raw.githubusercontent.com/fullsend-ai/agents/ea29de9bb8b1729b04c0597b48a5c7aae62deb71/harness/review.yaml#sha256=c31ab2ff59b288ad1b8e3755751549c00c1606649cdb239bbbe5df58ba6f3112 forge: github: