From 1851ab123e6b3dbf38e1a61a07e3af9bd1b52673 Mon Sep 17 00:00:00 2001 From: Erick Zhao Date: Wed, 3 Dec 2025 18:52:30 -0800 Subject: [PATCH] chore: Revert "ci: backport trusted publisher changes (#4071)" This reverts commit 1e1050fa28afcd9447f0dbdde833197e2a441b7d. --- .github/workflows/release.yml | 63 ----------------------------------- 1 file changed, 63 deletions(-) delete mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index 7114ddf347..0000000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,63 +0,0 @@ -name: Release (Forge 8) - -on: - workflow_dispatch: - -# Ensure only one release workflow runs at a time -concurrency: - group: release - cancel-in-progress: false - -jobs: - release: - name: Publish Next Release - environment: npm-trusted-publisher - runs-on: ubuntu-latest - # Run this in the `next` branch only - if: github.repository == 'electron/forge' && github.ref == 'refs/heads/next' - permissions: - contents: write - id-token: write # Required for trusted publishing - steps: - - name: Checkout - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 - with: - # We need the full history for version calculation - fetch-depth: 0 - - - name: Install Node.js - uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.0.1 - with: - node-version-file: '.nvmrc' - package-manager-cache: false - - - name: Install dependencies - run: yarn install --immutable - - - name: Build Electron Forge - run: yarn build - - - name: Cache ESLint - uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 - with: - path: .eslintcache - key: v2-lint-dependencies-${{ hashFiles('yarn.lock') }}-${{ hashFiles('.eslintrc.json') }} - - - name: Lint codebase - run: | - yarn lint - - - name: Upload build artifacts - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: dist-files - path: packages/*/*/dist/* - - - name: Get GitHub app token - id: secret-service - uses: electron/secret-service-action@3476425e8b30555aac15b1b7096938e254b0e155 # v1.0.0 - - - name: Publish prerelease (using OIDC trusted publishing) - env: - GH_TOKEN: ${{ fromJSON(steps.secret-service.outputs.secrets).GITHUB_TOKEN }} - run: lerna publish prerelease --force-publish --preid=alpha --pre-dist-tag=alpha --no-changelog --exact