-
Notifications
You must be signed in to change notification settings - Fork 52
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
Some feature requests #34
Comments
Thanks for the feedback @emilva 👍 I will try and get these features addressed as soon as I can 👍 |
Great stuff @NickLiffen! |
For the default branch name, all you need to do is change the branches in the codeql-analysis.yml to say: branches: [ $default-branch ] When you check that file in, Github will change it to the default branch automatically So do:
|
Ah, sorry the $default-branch really only works on the workflow templates, for checkins it doesn't work the same. |
Yeah the way we would do this is doing some sort of template mapping where we replace a dummy value like |
I got it working as a quick fix using command line tools, since this little 'glitch' made me have to re-run a whole bunch of git pushes. commands.ts, and then I modified worker.ts, commitFile.ts to send down defaultBranch to commands.ts.
|
@agonzalez-plume 🙇 this looks very nice 🙇 If you would like to touch this up and make it a bit more usable, I would love to see this in a pull request 🙇 I would be very open to including this. I don't know if it would work on Window, but on:
It would be amazing 🙇 |
Hi @NickLiffen 👋
Some feature requests to help us onboard on a per-team basis:
codeql-analysis.yml
based on the repo's default branch nameThe text was updated successfully, but these errors were encountered: