GitHub's June 2026 public preview of Agentic Workflows is one of those product updates that looks like developer experience on the surface and security architecture underneath.
The reason is simple: when agents can participate in development workflows, the security boundary is no longer just code review. It includes workflow triggers, repository permissions, default tokens, dependency install steps, build caches, artifact handling, and deployment credentials.
GitHub's other June Actions updates point in the same direction, including controls for who and what triggers workflows, safer pull_request_target defaults, and read-only cache behavior for untrusted triggers.
Agent writes code
The first risk is review quality, but that is not where the story ends.
Workflow runs code
Build steps can install packages, call services, upload artifacts, and read environment state.
Token moves work
Repository and deployment permissions decide how far a bad change can travel.
The agent is not the only thing to review
A lot of AI coding risk conversations stop at "review the generated code." That is necessary, but it is incomplete. In modern CI/CD, generated code is often the start of a chain. A pull request can trigger tests. Tests can execute scripts. Scripts can pull dependencies. Dependencies can run install hooks. Workflows can fetch secrets, mint tokens, and publish artifacts.
That makes workflow configuration part of the agent control plane. If an agent can open a pull request that runs powerful workflows, the organization needs policy around both the agent and the automation that reacts to it.
What June's supply-chain incidents reinforce
StepSecurity's June reporting on compromised GitHub Actions and npm supply-chain activity shows why this matters in practice. In one June 24 report, StepSecurity described a compromised GitHub Action where malicious commits were force-pushed and version tags were repointed. In another, it described a coordinated npm package compromise carrying CI/CD secret-stealing behavior.
The specific package or action will change next month. The pattern will not. Attackers keep looking for places where developer trust turns into execution, and CI/CD is full of those moments.
For agentic development, the review question becomes: what can this pull request cause the automation system to do before a human fully understands it?
A practical CI/CD review for agentic work
- Map trigger paths: identify which workflows run for human PRs, bot PRs, forked PRs, scheduled jobs, and manual dispatch.
- Constrain default tokens: set minimum permissions by default and grant write access only where a job needs it.
- Separate untrusted execution: treat forked, bot-created, and agent-created code as untrusted until reviewed.
- Pin and review actions: avoid floating references for critical workflows and review third-party actions like dependencies.
- Scope secrets: reduce broad environment secrets and keep production credentials away from ordinary test paths.
- Log agent context: preserve which agent or bot created the change, what workflow ran, and what credentials were available.
Where CraftedTrust fits
CraftedTrust's broader platform direction matters because agent workflows cross product boundaries. Identity tells you who or what initiated work. Audit records approvals and receipts. Trace shows execution behavior. Governance gives leaders a view across policies, activity, alerts, and compliance. Registry and Touchstone add trust evidence for MCP servers and related agent tooling.
CI/CD security should be part of that same operating picture. If an AI agent can cause code to move through a build and deployment path, that path deserves the same kind of evidence as any other high-risk agent workflow.
Sources and further reading
- GitHub Changelog: GitHub Agentic Workflows is now in public preview
- GitHub Changelog: Control who and what triggers GitHub Actions workflows
- GitHub Changelog: Safer pull_request_target defaults for GitHub Actions checkout
- StepSecurity: simonecorsi/mawesome GitHub Action has been compromised
- StepSecurity: Mass npm supply chain attack