File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,8 +28,7 @@ const validateMetadataObject = (object: any) => {
2828} ;
2929
3030export class GitHubActionsRequester
31- implements Requester < GitHubActionsRequesterConfig , GitHubActionsOTPRequestMetadata >
32- {
31+ implements Requester < GitHubActionsRequesterConfig , GitHubActionsOTPRequestMetadata > {
3332 readonly slug = 'github' ;
3433
3534 getConfigForProject ( project : Project ) {
@@ -105,6 +104,12 @@ export class GitHubActionsRequester
105104 error : 'GitHub Actions build is for a tag not on the default branch' ,
106105 } ;
107106 }
107+ } else if (
108+ claims . repository_owner === 'electron' &&
109+ claims . repository === 'electron/node-abi' &&
110+ claims . ref === 'refs/heads/3-x-y'
111+ ) {
112+ // Temporary hack to allow the 3-x-y branch to be used for releases on the node-abi repo
108113 } else if ( claims . ref !== `refs/heads/${ project . defaultBranch } ` ) {
109114 return {
110115 ok : false ,
You can’t perform that action at this time.
0 commit comments