@@ -563,8 +563,7 @@ describe('Configure AWS Credentials', () => {
563
563
RoleArn : 'arn:aws:iam::111111111111:role/MY-ROLE' ,
564
564
RoleSessionName : 'GitHubActions' ,
565
565
DurationSeconds : 6 * 3600 ,
566
- WebIdentityToken : 'testpayload' ,
567
- SourceIdentity : GITHUB_ACTOR_SANITIZED
566
+ WebIdentityToken : 'testpayload'
568
567
} )
569
568
} ) ;
570
569
@@ -578,8 +577,7 @@ describe('Configure AWS Credentials', () => {
578
577
RoleArn : 'arn:aws:iam::111111111111:role/MY-ROLE' ,
579
578
RoleSessionName : 'GitHubActions' ,
580
579
DurationSeconds : 6 * 3600 ,
581
- WebIdentityToken : 'testpayload' ,
582
- SourceIdentity : GITHUB_ACTOR_SANITIZED
580
+ WebIdentityToken : 'testpayload'
583
581
} )
584
582
} ) ;
585
583
@@ -596,8 +594,7 @@ describe('Configure AWS Credentials', () => {
596
594
RoleArn : 'arn:aws:iam::111111111111:role/MY-ROLE' ,
597
595
RoleSessionName : 'GitHubActions' ,
598
596
DurationSeconds : 3600 ,
599
- WebIdentityToken : 'testtoken' ,
600
- SourceIdentity : GITHUB_ACTOR_SANITIZED
597
+ WebIdentityToken : 'testtoken'
601
598
} ) ;
602
599
expect ( core . setSecret ) . toHaveBeenNthCalledWith ( 1 , FAKE_STS_ACCESS_KEY_ID ) ;
603
600
expect ( core . setSecret ) . toHaveBeenNthCalledWith ( 2 , FAKE_STS_SECRET_ACCESS_KEY ) ;
@@ -617,8 +614,7 @@ describe('Configure AWS Credentials', () => {
617
614
RoleArn : 'arn:aws:iam::111111111111:role/MY-ROLE' ,
618
615
RoleSessionName : 'GitHubActions' ,
619
616
DurationSeconds : CUSTOM_ROLE_DURATION ,
620
- WebIdentityToken : 'testtoken' ,
621
- SourceIdentity : GITHUB_ACTOR_SANITIZED
617
+ WebIdentityToken : 'testtoken'
622
618
} ) ;
623
619
expect ( core . setSecret ) . toHaveBeenNthCalledWith ( 1 , FAKE_STS_ACCESS_KEY_ID ) ;
624
620
expect ( core . setSecret ) . toHaveBeenNthCalledWith ( 2 , FAKE_STS_SECRET_ACCESS_KEY ) ;
0 commit comments