build: remove CircleCI (#42844) (#42908)

* build: remove CircleCI

* chore: remove remaining CircleCI references

(cherry picked from commit c006e129b3)

Co-authored-by: Keeley Hammond <vertedinde@electronjs.org>
This commit is contained in:
John Kleinschmidt 2024-07-15 17:56:53 -04:00 committed by GitHub
parent 02306b46a5
commit fe31c8eeac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 3 additions and 1972 deletions

View file

@ -1,16 +1,6 @@
const { appCredentialsFromString, getTokenForRepo } = require('@electron/github-app-auth');
const cp = require('node:child_process');
if (!process.env.CIRCLE_BRANCH) {
console.error('Not building for a specific branch, can\'t autopush a patch');
process.exit(1);
}
if (process.env.CIRCLE_PR_NUMBER) {
console.error('Building for a forked PR, can\'t autopush a patch');
process.exit(1);
}
async function main () {
const token = await getTokenForRepo(
{