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 default configuration for external-based forks #2136

Open
pcaversaccio opened this issue Feb 13, 2024 · 2 comments
Open

CodeQL default configuration for external-based forks #2136

pcaversaccio opened this issue Feb 13, 2024 · 2 comments

Comments

@pcaversaccio
Copy link

pcaversaccio commented Feb 13, 2024

As recommended, I use the default setup for CodeQL. I also require the CI scans in my protected branches. However, whenever there is an external-fork-based PR, the scans are not run (= status is never reported). Example:

image

For internal-branch-based PRs it works smoothly, so it seems the default configuration doesn't work for external-fork-based PRs. Any advise on how to make this work without customising the CodeQL action yourself?

@devtobi
Copy link

devtobi commented Sep 5, 2024

This definitely needs more attention. @pcaversaccio Did you manage to build a custom workflow with the "Advanced setup" as a workaround?

@pcaversaccio
Copy link
Author

This definitely needs more attention. @pcaversaccio Did you manage to build a custom workflow with the "Advanced setup" as a workaround?

Oh yeah, using the advanced one everywhere now; example: https://github.com/pcaversaccio/snekmate/blob/main/.github/workflows/codeql.yml

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

2 participants