Skip to content

feat(ci): support local Kipp packages and fix OIDC scrubbing - #180

Merged
pleb merged 2 commits into
mainfrom
feat/local-package-and-oidc-scrub
Aug 29, 2026
Merged

feat(ci): support local Kipp packages and fix OIDC scrubbing#180
pleb merged 2 commits into
mainfrom
feat/local-package-and-oidc-scrub

Conversation

@pleb

@pleb pleb commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

Two independent changes to the Kipp Managed Services composite actions.

setup-kipp: use a local Kipp package

Adds a package-path input pointing at a Kipp package already present in the workspace. When it is set the action skips the registry download entirely and reads the package name and version from the manifest, so a workflow can exercise an unpublished build. kipp-version is ignored in that mode.

The path is resolved against GITHUB_WORKSPACE when relative, and rejected when it is not a directory or carries no package.json. The manifest version must be an exact semver, and it feeds the existing kipp-version output.

run-kipp-automation: make OIDC scrubbing effective

scrub-oidc-env cleared the OIDC request variables through GITHUB_ENV. When the job grants id-token: write the runner injects fresh values into each step process, so that alone did not keep them out of the automation.

The github-script step now deletes the variables from its own process before importing the runtime, which is where the runtime and the Pi subprocess read them. The separate confirmation step is replaced by an inline check that throws.

Both inputs stay optional and default to the current behaviour, so existing callers are unaffected.

pleb added 2 commits August 29, 2026 11:06
When the job grants `id-token: write`, the runner injects fresh OIDC
request variables into each step process, so clearing them through
GITHUB_ENV does not keep them out of the automation. Delete them from
the github-script process instead, where the runtime and the Pi
subprocess read them, and drop the separate confirmation step now that
the check runs inline.
Add a `package-path` input pointing at a Kipp package already present in
the workspace. When it is set the action skips the registry download and
reads the name and version from the package manifest, so a workflow can
exercise an unpublished build. `kipp-version` is ignored in that mode.
@github-actions

Copy link
Copy Markdown
Contributor

🛡️ SHA Pinned Actions Report

✅ All 31 file(s) passed — actions are allowed and pinned as required.

@pleb
pleb enabled auto-merge August 29, 2026 01:09
@pleb
pleb merged commit 16baa26 into main Aug 29, 2026
1 check passed
@pleb
pleb deleted the feat/local-package-and-oidc-scrub branch August 29, 2026 03:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants