-
Notifications
You must be signed in to change notification settings - Fork 429
Allow config files to be from a remote repository #87
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
Conversation
From #82
robertbrignull
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code LGTM and the test that you included looks good too.
Only thing I can think of to improve it would be to add an entry to https://github.com/github/codeql-action/blob/main/.github/workflows/integration-testing.yml so it gets tested automatically as well.
|
Thanks @robertbrignull. I've had a go at adding an integration test in 4b37db7; I'd appreciate your eyes on that one, thanks! In particular, can we simplify the checkout? |
|
I'd copy what the existing integration tests do, instead of using the format from the public template. There's no need to do the |
|
Or you could even change that existing test so it tests both aspects at once. We don't have a good guideline for this. I'm wary of introducing too many extra tests, especially if they all test on multiple OS's, because the tests will start taking up too many action minutes and take too long. It's unclear if we've reached that point or not yet. And since we can always change the test setup at any point, whatever you do we can always adjust in the future. |
|
Sounds like a plan, thanks. Done in 1bb294a. |
robertbrignull
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adding the integration test. LGTM
You can see an example of this in use in a branch that builds off this one. Here's a deep link to the Actions run, showing the HTTP request: https://github.com/github/codeql-action/runs/811641896?check_suite_focus=true#step:4:27