diff --git a/.github/workflows/issue-opened.yml b/.github/workflows/issue-opened.yml index b07387daf1c3..b09d5549fc9b 100644 --- a/.github/workflows/issue-opened.yml +++ b/.github/workflows/issue-opened.yml @@ -76,7 +76,8 @@ jobs: const { ElectronVersions } = await import('${{ github.workspace }}/node_modules/@electron/fiddle-core/dist/index.js'); const versions = await ElectronVersions.create(undefined, { ignoreCache: true }); - if (!versions.supportedMajors.includes(major)) { + const validVersions = [...versions.supportedMajors, ...versions.prereleaseMajors]; + if (!validVersions.includes(major)) { core.setOutput('unsupportedMajor', true); labels.push('blocked/need-info ❌'); }