Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CodeQL - Specify bash shell so that it doesn't fail if switching to 'windows` #2392

Merged
merged 2 commits into from May 13, 2024

Conversation

felickz
Copy link
Contributor

@felickz felickz commented May 3, 2024

This CodeQL configuration template defaults to mac/ubuntu runners. If you end up needing to run manual build for csharp and this requires you switch the runs-on to windows-<any> - you will get the following error due to PowerShell being invoked instead of bash:

image

@felickz felickz requested review from a team as code owners May 3, 2024 14:56
@github-actions github-actions bot added the code-scanning Related to workflows that show on the Code Scanning setup page label May 3, 2024
@felickz felickz changed the title Specify bash shell so that it doesn't fail if switching to 'windows` CodeQL - Specify bash shell so that it doesn't fail if switching to 'windows` May 3, 2024
@marcogario marcogario enabled auto-merge May 13, 2024 09:28
@marcogario marcogario merged commit e83edef into actions:main May 13, 2024
3 checks passed
Copy link

@AbuKram032012 AbuKram032012 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code-scanning Related to workflows that show on the Code Scanning setup page
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants