@@ -610,8 +610,7 @@ describe('Configure AWS Credentials', () => {
610
610
RoleArn : 'arn:aws:iam::111111111111:role/MY-ROLE' ,
611
611
RoleSessionName : 'GitHubActions' ,
612
612
DurationSeconds : 6 * 3600 ,
613
- WebIdentityToken : 'testpayload' ,
614
- SourceIdentity : GITHUB_ACTOR_SANITIZED
613
+ WebIdentityToken : 'testpayload'
615
614
} )
616
615
} ) ;
617
616
@@ -625,8 +624,7 @@ describe('Configure AWS Credentials', () => {
625
624
RoleArn : 'arn:aws:iam::111111111111:role/MY-ROLE' ,
626
625
RoleSessionName : 'GitHubActions' ,
627
626
DurationSeconds : 6 * 3600 ,
628
- WebIdentityToken : 'testpayload' ,
629
- SourceIdentity : GITHUB_ACTOR_SANITIZED
627
+ WebIdentityToken : 'testpayload'
630
628
} )
631
629
} ) ;
632
630
@@ -643,8 +641,7 @@ describe('Configure AWS Credentials', () => {
643
641
RoleArn : 'arn:aws:iam::111111111111:role/MY-ROLE' ,
644
642
RoleSessionName : 'GitHubActions' ,
645
643
DurationSeconds : 3600 ,
646
- WebIdentityToken : 'testtoken' ,
647
- SourceIdentity : GITHUB_ACTOR_SANITIZED
644
+ WebIdentityToken : 'testtoken'
648
645
} ) ;
649
646
expect ( core . setSecret ) . toHaveBeenNthCalledWith ( 1 , FAKE_STS_ACCESS_KEY_ID ) ;
650
647
expect ( core . setSecret ) . toHaveBeenNthCalledWith ( 2 , FAKE_STS_SECRET_ACCESS_KEY ) ;
@@ -664,8 +661,7 @@ describe('Configure AWS Credentials', () => {
664
661
RoleArn : 'arn:aws:iam::111111111111:role/MY-ROLE' ,
665
662
RoleSessionName : 'GitHubActions' ,
666
663
DurationSeconds : CUSTOM_ROLE_DURATION ,
667
- WebIdentityToken : 'testtoken' ,
668
- SourceIdentity : GITHUB_ACTOR_SANITIZED
664
+ WebIdentityToken : 'testtoken'
669
665
} ) ;
670
666
expect ( core . setSecret ) . toHaveBeenNthCalledWith ( 1 , FAKE_STS_ACCESS_KEY_ID ) ;
671
667
expect ( core . setSecret ) . toHaveBeenNthCalledWith ( 2 , FAKE_STS_SECRET_ACCESS_KEY ) ;
0 commit comments