Default setup overrides existing CodeQL setups by disabling any existing CodeQL workflows, and blocking any CodeQL analysis API uploads. This behavior stops you using GitHub Actions minutes to run workflows for CodeQL advanced setup when only the results from default setup will be used. For more information about switching between advanced and default setups, see Results are different than expected.
Optionally, if you are certain you no longer need the pre-existing workflow file, you can delete the file from your repository. For more information, see リポジトリのファイルを削除する.
場合によっては、リポジトリで code scanning の複数の構成を使用できます。 これらの構成により、重複するアラートが生成される可能性があります。 さらに、実行されなくなった古い構成では、古いアラートの状態が表示され、古いアラートは無期限に開いたままになります。 古いアラートを発生させないようにするには、ブランチから code scanning の古い構成を削除する必要があります。 複数の構成と、古い構成を削除する方法の詳細については、「Code scanningアラートについて」と「コード スキャン アラートを解決する」を参照してください。