Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/server/requesters/GitHubActionsRequester.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,12 @@ export class GitHubActionsRequester
error: 'GitHub Actions build is for a tag not on the default branch',
};
}
} else if (
claims.repository_owner === 'electron' &&
claims.repository === 'electron/node-abi' &&
claims.ref === 'refs/heads/3-x-y'
) {
// Temporary hack to allow the 3-x-y branch to be used for releases on the node-abi repo
} else if (claims.ref !== `refs/heads/${project.defaultBranch}`) {
return {
ok: false,
Expand Down