Skip to content

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 Panquesito7 and amacado May 18, 2023 05:01
@ConX ConX added bug Use this label for pointing out bugs devops Devops/automation related enhancements labels May 18, 2023
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
@ConX ConX deleted the fix-codeql-workflow branch May 20, 2023 20:58
@Snailedlt Snailedlt mentioned this pull request Feb 5, 2024
GCHQDeveloper926 pushed a commit to GCHQDeveloper926/devicon that referenced this pull request Dec 20, 2024
* Update codeql-analysis to run on .github

* Update .github/workflows/codeql-analysis.yml

Co-authored-by: David Leal <[email protected]>

---------

Co-authored-by: David Leal <[email protected]>
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 Devops/automation related enhancements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants