Skip to content

Commit 4266b1c

Browse files
committed
CCM-10193 use GitHub App token
Signed-off-by: Tim Ireland <[email protected]>
1 parent d102bab commit 4266b1c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/scripts/dispatch_internal_repo_workflow.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,15 +137,15 @@ header=$( echo -n "${header_json}" | b64enc )
137137
payload_json="{
138138
\"iat\":${iat},
139139
\"exp\":${exp},
140-
\"iss\":\"${$CLIENT_ID}\"
140+
\"iss\":\"${APP_CLIENT_ID}\"
141141
}"
142142
# Payload encode
143143
payload=$( echo -n "${payload_json}" | b64enc )
144144

145145
# Signature
146146
header_payload="${header}"."${payload}"
147147
signature=$(
148-
openssl dgst -sha256 -sign <(echo -n "${$APP_PEM_FILE}") \
148+
openssl dgst -sha256 -sign <(echo -n "${APP_PEM_FILE}") \
149149
<(echo -n "${header_payload}") | b64enc
150150
)
151151

0 commit comments

Comments
 (0)