File tree 2 files changed +1
-7
lines changed
2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -125,17 +125,13 @@ class Utils {
125
125
const exchangeUrl = jfrogCredentials . jfrogUrl . replace ( / \/ $ / , '' ) + '/access/api/v1/oidc/token' ;
126
126
core . debug ( 'Exchanging GitHub JSON web token with a JFrog access token...' ) ;
127
127
let projectKey = process . env . JF_PROJECT || '' ;
128
- let jobId = process . env . GITHUB_JOB || '' ;
129
- let runId = process . env . GITHUB_RUN_ID || '' ;
130
128
const httpClient = new http_client_1 . HttpClient ( ) ;
131
129
const data = `{
132
130
"grant_type": "urn:ietf:params:oauth:grant-type:token-exchange",
133
131
"subject_token_type": "urn:ietf:params:oauth:token-type:id_token",
134
132
"subject_token": "${ jsonWebToken } ",
135
133
"provider_name": "${ oidcProviderName } ",
136
- "project_key": "${ projectKey } ",
137
- "gh_job_id": "${ jobId } ",
138
- "gh_run_id": "${ runId } ",
134
+ "project_key": "${ projectKey } "
139
135
}` ;
140
136
const additionalHeaders = {
141
137
'Content-Type' : 'application/json' ,
Original file line number Diff line number Diff line change @@ -161,8 +161,6 @@ export class Utils {
161
161
"subject_token": "${ jsonWebToken } ",
162
162
"provider_name": "${ oidcProviderName } ",
163
163
"project_key": "${ projectKey } ",
164
- "gh_job_id": "${ jobId } ",
165
- "gh_run_id": "${ runId } ",
166
164
}` ;
167
165
168
166
const additionalHeaders : OutgoingHttpHeaders = {
You can’t perform that action at this time.
0 commit comments