Skip to content

fix(ci): allow optional secrets in publish-r2 reusable workflow#563

Merged
echobt merged 1 commit intomasterfrom
fix/ci-optional-secrets-1770055445
Feb 2, 2026
Merged

fix(ci): allow optional secrets in publish-r2 reusable workflow#563
echobt merged 1 commit intomasterfrom
fix/ci-optional-secrets-1770055445

Conversation

@echobt
Copy link
Contributor

@echobt echobt commented Feb 2, 2026

Summary

When using secrets: inherit in the calling workflow (dev-deploy.yml), the secrets must be marked as required: false to avoid validation errors. The secrets are still passed through inherit and will be available at runtime from the repository/organization settings.

Changes

  • Changed R2_ACCESS_KEY_ID, R2_SECRET_ACCESS_KEY, and CLOUDFLARE_ACCOUNT_ID secrets from required: true to required: false in the publish-r2.yml reusable workflow.

Testing

  • CI already passed on this commit (run #21597009873)
  • The change affects only the workflow_call trigger validation, not the actual functionality

When using 'secrets: inherit' in the calling workflow (dev-deploy.yml),
the secrets must be marked as required: false to avoid validation errors.
The secrets are still passed through inherit and will be available at
runtime from the repository/organization settings.
@echobt echobt merged commit 940e83c into master Feb 2, 2026
12 checks passed
@echobt echobt deleted the fix/ci-optional-secrets-1770055445 branch February 2, 2026 18:12
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.

1 participant