Skip to content

Commit aef99c7

Browse files
authored
chore: temporarily allow node-abi releases from 3-x-y branch (#91)
1 parent 452c6b1 commit aef99c7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/server/requesters/GitHubActionsRequester.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,12 @@ export class GitHubActionsRequester
105105
error: 'GitHub Actions build is for a tag not on the default branch',
106106
};
107107
}
108+
} else if (
109+
claims.repository_owner === 'electron' &&
110+
claims.repository === 'electron/node-abi' &&
111+
claims.ref === 'refs/heads/3-x-y'
112+
) {
113+
// Temporary hack to allow the 3-x-y branch to be used for releases on the node-abi repo
108114
} else if (claims.ref !== `refs/heads/${project.defaultBranch}`) {
109115
return {
110116
ok: false,

0 commit comments

Comments
 (0)