Skip to content

Commit c921b7c

Browse files
committed
Exposes JWT logging as an input parameter
Allows users to control whether JWT token information is logged, providing flexibility for debugging and security considerations. This change introduces a new input parameter `log_jwt_info` to the workflow, enabling users to enable or disable JWT logging based on their needs.
1 parent b005bed commit c921b7c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/_pulumi-wif.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,11 @@ on:
5757
required: false
5858
type: string
5959
default: "latest"
60+
log_jwt_info:
61+
description: 'Log JWT token information for debugging'
62+
required: false
63+
type: boolean
64+
default: true
6065
secrets:
6166
app_id:
6267
description: "GitHub App ID"
@@ -101,7 +106,7 @@ jobs:
101106
workload_identity_provider: ${{ inputs.workload-identity-provider }}
102107
project_id: ${{ inputs.project-id }}
103108
gcloud_components: "beta"
104-
log_jwt_info: true
109+
log_jwt_info: ${{ inputs.log_jwt_info }}
105110

106111
## GCP access should be ready
107112

0 commit comments

Comments
 (0)