Skip to content

Commit d7d9463

Browse files
feat: add OIDC token validation and enhance retry reliability
- Add new oidc-token-validate: command not found input parameter for optional token validation - Split retry logic to handle token creation and validation separately - Implement exponential backoff with jitter for all retry operations - Migrate to consistent axios usage throughout - Add validation check for empty tokens - Improve error logging with detailed HTTP error context - Add 4xx non-retryable error detection - Increase request timeout to 30 seconds for better reliability
1 parent e76d0bd commit d7d9463

4 files changed

Lines changed: 1417 additions & 154 deletions

File tree

action.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ inputs:
2626
description: 'Number of retry attempts for OIDC authentication (0-10)'
2727
default: '3'
2828
required: false
29+
oidc-token-validate:
30+
description: 'Validate the OIDC token after authentication'
31+
default: 'true'
32+
required: false
2933
pip-install:
3034
description: 'Install the Cloudsmith CLI via pip'
3135
default: 'false'

0 commit comments

Comments
 (0)