GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||
GeezerVison is showing github.com — feat: support GitHub Actions OIDC authentication by aiqiaoy · Pull Request #411 · actions/create-github-app-token Conversation
|
| File | Description |
|---|---|
tests/main-oidc-auth.test.js |
Tests OIDC token creation, scoping, outputs, and failures. |
tests/main-missing-private-key.test.js |
Tests missing private-key and OIDC credentials. |
tests/index.js.snapshot |
Updates expected authentication output and error formatting. |
main.js |
Requires an explicit client ID for OIDC authentication. |
lib/main.js |
Selects authentication mode and guards enterprise usage. |
lib/create-oidc-auth.js |
Adds OIDC-backed installation discovery and token requests. |
dist/main.cjs |
Bundles the new authentication behavior. |
action.yml |
Makes the private key optional and describes OIDC requirements. |
Review effort: Balanced
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
- Check for a private key or OIDC permissions before resolving the target, with an error that covers both a missing secret and missing id-token permissions - Add @ts-check and JSDoc to create-oidc-auth.js - Clarify the enterprise OIDC guard comment - Restore dist/main.cjs; the release workflow rebuilds it - Add missing trailing newlines Co-authored-by: copilot-swe-agent[bot] <[email protected]>
- Serve ID tokens from a local server instead of mocking @actions/core internals - Add OIDC support to the shared test helper and log request query strings - Move the ANSI stripping harness change to actions#412 Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Makes a missing private-key secret easy to spot in the logs when the workflow also grants id-token: write. Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
The failure is reported through the action's generic error handling, so the test covered no OIDC-specific behavior. Rename the owner test after what it uniquely checks: the audience derived from GITHUB_SERVER_URL. Co-authored-by: copilot-swe-agent[bot] <[email protected]>
There was an error while loading. Please reload this page.
Strips ANSI escape codes from captured `stdout` and `stderr` before comparing test output to snapshots. When `FORCE_COLOR` is set (some terminals and tools set it), Node colorizes logged errors, so `main-token-get-owner-set-client-error.test.js` fails locally even though it passes in CI. With this change, snapshots match regardless of color settings. CI output is unchanged. Split out from #411. Co-authored-by: Aiqiao Yan <[email protected]> Co-authored-by: copilot-swe-agent[bot] <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
Idea - OIDC App Tokens
There was an error while loading. Please reload this page.