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

Update codeql-analysis to run on .github #1767

Merged
merged 2 commits into from
May 18, 2023

Conversation

ConX
Copy link
Contributor

@ConX ConX commented May 18, 2023

Double-check these details before you open a PR

  • x] PR does not match another non-stale PR currently opened

Features

It appears that by default codeql does not look into the .github directory, and as a result, all executions fail as python is listed, but no .py scripts exist outside that hidden directory.

To address this, this PR splits the codeql initialization and analysis into three parallel jobs, one for javascript, one for python that runs in .github/, one optional python for the rest in case we later add python scripts outside the .github/ directory.

Here are some screenshots from the testing:

Successful execution of all codeql analysis jobs.

image

Log that shows that the Python is skipped since there are no files there

image

This PR closes NONE

Notes

@ConX ConX requested review from amacado and Panquesito7 May 18, 2023 05:01
@ConX ConX added bug Use this label for pointing out bugs devops Use this label for devops related enhancements labels May 18, 2023
Co-authored-by: David Leal <halfpacho@gmail.com>
Copy link
Member

@Panquesito7 Panquesito7 left a comment

Choose a reason for hiding this comment

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

Thanks! 🚀

@Panquesito7 Panquesito7 merged commit ccf9fa4 into devicons:develop May 18, 2023
5 checks passed
@ConX ConX deleted the fix-codeql-workflow branch May 20, 2023 20:58
@Snailedlt Snailedlt mentioned this pull request Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Use this label for pointing out bugs devops Use this label for devops related enhancements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants