Deleting CodeQL Advanced configuration to leave only Default configuration.
Now we don't even need to upgrade CodeQL from v2 to v3.
And it may also solve this build check error, if any:
Code Scanning could not process the submitted SARIF file:
CodeQL analyses from advanced configurations cannot be processed when the default setup is enabled
Deleting CodeQL
Advanced
configuration to leave onlyDefault
configuration.Now we don't even need to upgrade CodeQL from v2 to v3.
And it may also solve this build check error, if any: