Repository navigation
Add the OctoSTS policy for SEP's support matrix publisher - #1389
Conversation
SEP's release-publish-support-matrix.yml on main adds the validated SUSE Rancher Prime, RKE2, and SUSE AI Factory versions to the supported platforms page after each release. It needs this identity to push its sep/support-matrix-* branch and open the docs PR. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
🔵 Needs a closer look
Repository-wide write access is granted to an external workflow whose publisher PR returned 404, leaving token exchange, input validation, and branch restrictions unverified.
No open issues 🎉
What changed in this PR
Adds an OctoSTS trust policy so the Stacklok Enterprise support matrix publisher can open PRs in this documentation repository. The support matrix page and sidebar entry are left to the publisher’s first PR.
Changes:
- Restricts token exchange to
release-publish-support-matrix.ymlon the platform repository’smainbranch, triggered byworkflow_dispatch. - Pins the
stacklok-octostsapp and grantscontents: writeandpull_requests: write; branch restrictions remain the workflow’s responsibility.
| File | Description |
|---|---|
.github/chainguard/sep-support-matrix.sts.yaml |
Defines the publisher’s trusted workflow identity, app, and repository permissions. |
Review effort: Balanced
|
Replying to the Copilot review above: the publisher PR, stacklok/stacklok-enterprise-platform#7553, is in a private repository, which is why Copilot got a 404. It's open. Here is how its workflow, Token exchange. The jobs request Input validation. Branch restrictions. The installation token itself can push to any unprotected branch; as the policy comment says, scoping is left to the workflow. The workflow pushes only |
Description
Adds the OctoSTS trust policy
sep-support-matrixfor the Stacklok Enterprise platform's support matrix publisher.After each release reaches Beta, the publisher validates the release on the SUSE Rancher lab. It then adds the validated Rancher Prime, RKE2, node OS, and SUSE AI Factory versions to a new page,
docs/platform/enterprise-platform/supported-platforms.mdx, in a draft PR fromsep/support-matrix-<tag>. The Stable promotion marks the PR ready. SUSE's Ready for Rancher and Ready for SUSE AI Factory certifications require this public list.The policy has the same shape as
sep-docs-pr.sts.yaml:release-publish-support-matrix.ymlonmainof the platform repository, and only onworkflow_dispatch.contents: writeandpull_requests: write.mainruleset still requires a reviewed PR before anything publishes.The first support matrix PR creates the page and adds it to
sidebars.tsafter "Verify artifacts".Type of change
Related issues/PRs
Submitter checklist
Content and formatting
Reviewer checklist
Content
🤖 Generated with Claude Code