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

Support for updating existing CodeQL Analysis #148

Open
john-yacuta-submittable opened this issue Oct 24, 2024 · 0 comments
Open

Support for updating existing CodeQL Analysis #148

john-yacuta-submittable opened this issue Oct 24, 2024 · 0 comments

Comments

@john-yacuta-submittable

Does this tool support updating existing CodeQL Analysis files codeql-analysis.yml after using this tool? If not, is it possible to add this support?

Scenario:

  1. Use this tool to run against all repos in an organization to enable CodeQL Analysis.
  2. Revisit the tool some months later.
  3. Can I use this tool again but to update certain fields in each of the codeql-analysis-{language}.yml files? E.g. I would like to enable this to run on self-hosted runners by updating the runs-on field.

I ran npm run start and the codeql-analysis.yml file stayed the same for a repo that was detected in the repos.json.

Output:

ghas:inform Enabled GHAS for <REPO>. Status: 200 +700ms
ghas:inform Has submittable/<REPO> had a CodeQL scan uploaded? true +281ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant