Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion .github/workflows/fleet-write.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
# workflow file requires, and the `metadata: read` the sender gate's permission read needs;
# plus, for a `workflow_dispatch` stroke ALONE (and the one other row that
# spends it), the `actions: write` the dispatch endpoint needs, and for an
# advisory stroke alone the `repository-advisories: write` its row spends —
# advisory stroke alone the `repository-advisories: write` its row spends,
# and for a `dependabot_list` stroke alone the `vulnerability-alerts: read` it reads with —
# each minted from the validator's per-stroke output, so every other run's
# token is exactly the five grants above)
# — and revoked by that action's post step. The workflow's own `GITHUB_TOKEN` gets nothing
Expand Down Expand Up @@ -183,6 +184,16 @@ jobs:
# NOT MEASURED either: the one live stroke carried the grant (`scripts/pm/fleet-write/ops.mjs`, "The one
# row that takes a pull OUT of the merge queue").
permission-merge-queues: ${{ steps.validate.outputs.permission_merge_queues }}
# ONE consumer: the `dependabot_list` row — one walk of the repository's open Dependabot alerts (its path is
# spelled in `ops.mjs` alone), READ only and written nowhere: its answer is projected to a few fields and sealed to the
# seat's one-time key, the same path as `advisory_list` (`scripts/pm/fleet-write/dependabot.mjs`). Minted
# ONLY for a stroke carrying that op, which travels alone, the same way as `permission-actions`: the
# validator writes `permission_vulnerability_alerts=read` for it and an EMPTY value for every other stroke,
# so every other run's token is exactly what it was. The input is declared by the action's `action.yml` at
# the v3 tag (no "Unexpected input" warning). The App must request "Dependabot alerts: Read" and the
# installation accept it (a maintainer's setting); without it this mint fails with zero writes. Whether the
# narrowed token reads the list is NOT MEASURED until the first live stroke.
permission-vulnerability-alerts: ${{ steps.validate.outputs.permission_vulnerability_alerts }}

# The sender gate, then the actions in order, then the step summary —
# request id · sender and role · session · target · one row per request.
Expand Down
Loading
Loading