chore: add devhub-environment input to just-nuts workflows @W-24095410@ - #2914
Merged
Conversation
Temporarily disables TESTKIT_JWT_CLIENT_ID, TESTKIT_JWT_KEY, and TESTKIT_HUB_INSTANCE env vars so the testkit falls through to AUTH_URL strategy. This forces NUTs to authenticate through the connected app with JWT-based access tokens enabled, surfacing endpoints that reject JWT tokens (e.g., Streaming/CometD 403). W-24095410
|
This PR lacks any commits of the 'fix' or 'feat' type, and therefore will not trigger a release. To silence all further warnings, react to this warning comment (or any other) with the 👀 emoji. NOTE: If your repo uses squash commits, make sure to add the appropriate conventional commit prefix (e.g., 'fix:', 'feat:', 'chore:', etc) in the squash commit message. |
Adds an optional `devhub-environment` input to just-nut.yml and just-nuts.yml that selects a GitHub Environment whose secrets override the default TESTKIT_* credentials. When unspecified, behavior is identical to today (org-level secrets). This enables testing NUTs against different devhub configurations (e.g., JWT-based access tokens) without swapping org-level secrets. W-24095410
WillieRuemmele
marked this pull request as ready for review
September 8, 2026 19:36
WillieRuemmele
had a problem deploying
to
devhub-gs0-jwt
September 8, 2026 19:41 — with
GitHub Actions
Error
WillieRuemmele
had a problem deploying
to
devhub-gs0-jwt
September 8, 2026 19:41 — with
GitHub Actions
Error
WillieRuemmele
had a problem deploying
to
devhub-gs0-jwt
September 8, 2026 19:41 — with
GitHub Actions
Error
WillieRuemmele
had a problem deploying
to
devhub-gs0-jwt
September 8, 2026 19:41 — with
GitHub Actions
Error
WillieRuemmele
had a problem deploying
to
devhub-gs0-jwt
September 8, 2026 19:41 — with
GitHub Actions
Error
WillieRuemmele
had a problem deploying
to
devhub-gs0-jwt
September 8, 2026 19:41 — with
GitHub Actions
Error
WillieRuemmele
had a problem deploying
to
devhub-gs0-jwt
September 8, 2026 19:41 — with
GitHub Actions
Error
WillieRuemmele
had a problem deploying
to
devhub-gs0-jwt
September 8, 2026 19:41 — with
GitHub Actions
Error
WillieRuemmele
had a problem deploying
to
devhub-gs0-jwt
September 8, 2026 19:41 — with
GitHub Actions
Error
WillieRuemmele
had a problem deploying
to
devhub-gs0-jwt
September 8, 2026 19:41 — with
GitHub Actions
Error
WillieRuemmele
had a problem deploying
to
devhub-gs0-jwt
September 8, 2026 19:41 — with
GitHub Actions
Error
WillieRuemmele
had a problem deploying
to
devhub-gs0-jwt
September 8, 2026 19:41 — with
GitHub Actions
Error
WillieRuemmele
had a problem deploying
to
devhub-gs0-jwt
September 8, 2026 19:41 — with
GitHub Actions
Error
WillieRuemmele
had a problem deploying
to
devhub-gs0-jwt
September 8, 2026 19:41 — with
GitHub Actions
Error
WillieRuemmele
had a problem deploying
to
devhub-gs0-jwt
September 8, 2026 19:41 — with
GitHub Actions
Error
WillieRuemmele
had a problem deploying
to
devhub-gs0-jwt
September 8, 2026 19:41 — with
GitHub Actions
Error
WillieRuemmele
had a problem deploying
to
devhub-gs0-jwt
September 8, 2026 19:41 — with
GitHub Actions
Error
WillieRuemmele
had a problem deploying
to
devhub-gs0-jwt
September 8, 2026 19:41 — with
GitHub Actions
Error
WillieRuemmele
had a problem deploying
to
devhub-gs0-jwt
September 8, 2026 19:41 — with
GitHub Actions
Error
WillieRuemmele
had a problem deploying
to
devhub-gs0-jwt
September 8, 2026 19:41 — with
GitHub Actions
Error
WillieRuemmele
had a problem deploying
to
devhub-gs0-jwt
September 8, 2026 19:41 — with
GitHub Actions
Error
WillieRuemmele
had a problem deploying
to
devhub-gs0-jwt
September 8, 2026 19:41 — with
GitHub Actions
Error
WillieRuemmele
had a problem deploying
to
devhub-gs0-jwt
September 8, 2026 19:41 — with
GitHub Actions
Error
WillieRuemmele
had a problem deploying
to
devhub-gs0-jwt
September 8, 2026 19:41 — with
GitHub Actions
Error
WillieRuemmele
had a problem deploying
to
devhub-gs0-jwt
September 8, 2026 19:41 — with
GitHub Actions
Error
WillieRuemmele
had a problem deploying
to
devhub-gs0-jwt
September 8, 2026 19:41 — with
GitHub Actions
Error
WillieRuemmele
had a problem deploying
to
devhub-gs0-jwt
September 8, 2026 19:41 — with
GitHub Actions
Error
WillieRuemmele
had a problem deploying
to
devhub-gs0-jwt
September 8, 2026 19:41 — with
GitHub Actions
Error
WillieRuemmele
had a problem deploying
to
devhub-gs0-jwt
September 8, 2026 19:41 — with
GitHub Actions
Error
WillieRuemmele
had a problem deploying
to
devhub-gs0-jwt
September 8, 2026 19:41 — with
GitHub Actions
Error
WillieRuemmele
had a problem deploying
to
devhub-gs0-jwt
September 8, 2026 19:41 — with
GitHub Actions
Error
WillieRuemmele
had a problem deploying
to
devhub-gs0-jwt
September 8, 2026 19:41 — with
GitHub Actions
Error
WillieRuemmele
had a problem deploying
to
devhub-gs0-jwt
September 8, 2026 19:41 — with
GitHub Actions
Error
WillieRuemmele
had a problem deploying
to
devhub-gs0-jwt
September 8, 2026 19:41 — with
GitHub Actions
Error
WillieRuemmele
had a problem deploying
to
devhub-gs0-jwt
September 8, 2026 19:41 — with
GitHub Actions
Error
WillieRuemmele
had a problem deploying
to
devhub-gs0-jwt
September 8, 2026 19:41 — with
GitHub Actions
Error
WillieRuemmele
had a problem deploying
to
devhub-gs0-jwt
September 8, 2026 19:41 — with
GitHub Actions
Error
WillieRuemmele
had a problem deploying
to
devhub-gs0-jwt
September 8, 2026 19:41 — with
GitHub Actions
Error
WillieRuemmele
had a problem deploying
to
devhub-gs0-jwt
September 8, 2026 19:41 — with
GitHub Actions
Error
WillieRuemmele
had a problem deploying
to
devhub-gs0-jwt
September 8, 2026 19:41 — with
GitHub Actions
Error
WillieRuemmele
had a problem deploying
to
devhub-gs0-jwt
September 8, 2026 19:41 — with
GitHub Actions
Error
WillieRuemmele
had a problem deploying
to
devhub-gs0-jwt
September 8, 2026 19:41 — with
GitHub Actions
Error
WillieRuemmele
had a problem deploying
to
devhub-gs0-jwt
September 8, 2026 19:41 — with
GitHub Actions
Error
WillieRuemmele
had a problem deploying
to
devhub-gs0-jwt
September 8, 2026 19:41 — with
GitHub Actions
Error
WillieRuemmele
had a problem deploying
to
GS0 - gs0_dev_hub_20210415
September 8, 2026 19:42 — with
GitHub Actions
Failure
WillieRuemmele
temporarily deployed
to
GS0 - gs0_dev_hub_20210415
September 8, 2026 19:42 — with
GitHub Actions
Inactive
WillieRuemmele
temporarily deployed
to
GS0 - gs0_dev_hub_20210415
September 8, 2026 19:42 — with
GitHub Actions
Inactive
WillieRuemmele
temporarily deployed
to
GS0 - gs0_dev_hub_20210415
September 8, 2026 19:42 — with
GitHub Actions
Inactive
WillieRuemmele
temporarily deployed
to
GS0 - gs0_dev_hub_20210415
September 8, 2026 19:42 — with
GitHub Actions
Inactive
WillieRuemmele
had a problem deploying
to
GS0 - gs0_dev_hub_20210415
September 8, 2026 19:42 — with
GitHub Actions
Failure
WillieRuemmele
temporarily deployed
to
GS0 - gs0_dev_hub_20210415
September 8, 2026 19:42 — with
GitHub Actions
Inactive
iowillhoit
previously approved these changes
Sep 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
devhub-environmentinput tojust-nut.ymlandjust-nuts.ymlTESTKIT_*credentialsWhy
@W-24095410@ — We need to run NUTs against different devhub configurations (e.g., a connected app with JWT-based access tokens enabled) without swapping org-level secrets and remembering to revert.
Previously, the only way to change which org NUTs authenticate against was to overwrite the org-level
TESTKIT_AUTH_URL/TESTKIT_JWT_*secrets — risky, not reversible without backups, and affects all workflows.How it works
devhub-gs0-jwt) at repo Settings > EnvironmentsTest plan
just-nutswith nodevhub-environment— should behave identically to todaydevhub-gs0-jwtenvironment with GS0 JWT credentialsjust-nutswith-f devhub-environment=devhub-gs0-jwt— should use environment secrets