diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 0000000000..ad28327cf6 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,2 @@ +next: + - base-branch: 'next' diff --git a/.github/workflows/add-to-project.yml b/.github/workflows/add-to-project.yml index 1b472d931e..5879ad3efb 100644 --- a/.github/workflows/add-to-project.yml +++ b/.github/workflows/add-to-project.yml @@ -15,13 +15,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Generate GitHub App token - uses: electron/github-app-auth-action@384fd19694fe7b6dcc9a684746c6976ad78228ae # v1.1.1 + uses: electron/github-app-auth-action@e14e47722ed120360649d0789e25b9baece12725 # v2.0.0 id: generate-token with: creds: ${{ secrets.ECOSYSTEM_ISSUE_TRIAGE_GH_APP_CREDS }} org: electron - name: Add to Project - uses: dsanders11/project-actions/add-item@2134fe7cc71c58b7ae259c82a8e63c6058255678 # v1.7.0 + uses: dsanders11/project-actions/add-item@5767984408ccc6742f83acc8b8d8ea5e09f329af # v2.0.0 with: field: Opened field-value: ${{ github.event.pull_request.created_at || github.event.issue.created_at }} diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index c51a5c0842..89f73d436c 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -13,12 +13,12 @@ jobs: group: ${{ github.workflow }}-${{ github.ref }} steps: - name: Generate GitHub App token - uses: electron/github-app-auth-action@384fd19694fe7b6dcc9a684746c6976ad78228ae # v1.1.1 + uses: electron/github-app-auth-action@e14e47722ed120360649d0789e25b9baece12725 # v2.0.0 id: generate-token with: creds: ${{ secrets.GH_APP_CREDS }} - - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: submodules: true fetch-depth: 0 @@ -50,7 +50,7 @@ jobs: GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }} - name: Commit docs - uses: dsanders11/github-app-commit-action@43de6da2f4d927e997c0784c7a0b61bd19ad6aac # v1.5.0 + uses: dsanders11/github-app-commit-action@2bbcd331016d8c950b05a24b56e7eb9cb50d545e # v2.1.0 with: fail-on-no-changes: false message: 'deploy: ${{ steps.get-short-sha.outputs.sha }}' diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 0000000000..15a6409caa --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,17 @@ +name: PR Labeler + +on: + pull_request_target: # zizmor: ignore[dangerous-triggers] + types: [opened, synchronize, reopened] + +permissions: + contents: read + pull-requests: write + +jobs: + label: + runs-on: ubuntu-latest + steps: + - uses: actions/labeler@634933edcd8ababfe52f92936142cc22ac488b1b # v6.0.1 + with: + sync-labels: true diff --git a/README.md b/README.md index bf0fdf6cf8..4fa39c520f 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,11 @@ [![license](https://img.shields.io/github/license/electron/forge.svg)](https://github.com/electron/forge/blob/main/LICENSE) ![status](https://img.shields.io/badge/Status-%20Ready%20for%20Awesome-red.svg) +> [!IMPORTANT] +> We're currently beginning feature development for the next major version of Electron Forge, which is being done in the [`next`](https://github.com/electron/forge/tree/next) branch. +> To try out experimental pre-releases, install the `@alpha` dist-tag of the `@electron-forge/*` packages via npm. +> For more details, see issue https://github.com/electron/forge/issues/4082. + A complete tool for building modern Electron applications. Electron Forge unifies the existing (and well maintained) build tools for diff --git a/packages/api/cli/spec/cli.slow.spec.ts b/packages/api/cli/spec/cli.slow.spec.ts index 0496bd5f11..4ff4383bcd 100644 --- a/packages/api/cli/spec/cli.slow.spec.ts +++ b/packages/api/cli/spec/cli.slow.spec.ts @@ -9,7 +9,7 @@ function runForgeCLI(...extraArgs: string[]): Promise { path.resolve(import.meta.dirname, '../src/electron-forge.ts'), ...extraArgs, ]; - return spawn('npx', args); + return spawn('yarn', args); } describe('cli', () => {