Skip to content

Commit 940e83c

Browse files
authored
fix(ci): allow optional secrets in publish-r2 reusable workflow (#563)
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.
1 parent aeefbff commit 940e83c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/publish-r2.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ on:
4242
type: string
4343
secrets:
4444
R2_ACCESS_KEY_ID:
45-
required: true
45+
required: false
4646
R2_SECRET_ACCESS_KEY:
47-
required: true
47+
required: false
4848
CLOUDFLARE_ACCOUNT_ID:
49-
required: true
49+
required: false
5050

5151
env:
5252
BINARY_NAME: Cortex

0 commit comments

Comments
 (0)