Skip to content

Commit f6006bd

Browse files
fix(actions): declare secrets used by reusable workflows
Adds explicit on.workflow_call.secrets declarations for all secrets referenced in the workflow body, replacing implicit reliance on callers using secrets: inherit.
1 parent 6fb3166 commit f6006bd

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,17 @@ on:
3131
description: 'Version of the CLI to bundle'
3232
required: false
3333
type: string
34+
secrets:
35+
MAVEN_GPG_PASSPHRASE:
36+
required: true
37+
MAVEN_GPG_PRIVATE_KEY:
38+
required: true
39+
OSSRH_TOKEN:
40+
required: true
41+
OSSRH_USERNAME:
42+
required: true
43+
PERSONAL_ACCESS_TOKEN:
44+
required: true
3445

3546
jobs:
3647
release:

0 commit comments

Comments
 (0)