Skip to content

Record the layered workflow execution policy as reviewed desired state #208

Description

@devantler

🤖 Generated by the Agentic Engineer

Evidence

Audience and problem

The maintainer, who has to approve the final actor allowlists, and whoever applies the policies later. Today the layered design exists only as prose on #202. There is nothing reviewable to approve, and no fixed shape for a later apply or drift check to read.

Expected behaviour

The layered actor/event policy is recorded in this repository as reviewed desired state, in the exact shape the REST API takes (POST /orgs/{org}/actions/policies). CI validates it, and it stays unapplied until a GitOps path exists or the maintainer approves an interim apply.

Acceptance criteria

  • A policy file in REST request shape covers at least: pull_request_target/workflow_run prohibited by default, and manual entry to deployment and publication workflows limited to named actors.
  • Every actor is a live-resolved numeric ID with its API type, never a login.
  • CI rejects an unknown enforcement mode, rule type, actor type or event, and any policy that allows pull_request_target or workflow_run without a documented exception.
  • Every policy is evaluate or disabled. active needs maintainer approval.
  • The README states that nothing is applied, and why (no provider resource).

Rough size: S.

Part of #202

Activity

  1. moved this to 📥 Backlog in 🌊 Project Boardon Sep 21, 2026
  2. self-assigned this
    on Sep 21, 2026
  3. added a commit that references this issue on Sep 21, 2026
  4. moved this from 📥 Backlog to 👀 In Review in 🌊 Project Boardon Sep 21, 2026
  5. moved this from 👀 In Review to 🏃🏻‍♂️ In Progress in 🌊 Project Boardon Sep 21, 2026
  6. moved this from 🏃🏻‍♂️ In Progress to ✅ Done in 🌊 Project Boardon Sep 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Fields

No fields configured for Security.

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions