-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
ci: allow multi submission #2295
base: develop
Are you sure you want to change the base?
ci: allow multi submission #2295
Conversation
Great! |
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.
This looks very good!
However I think we might get issues with the release script, since that also builds icons based on the PR title.
I might be wrong here, but iirc that's a different script, which will also need to be refactored.
To test out if this works with the release script(s), you can go through the release guide on your fork, and see if you get any errors, and if every step executes as expected.
If you find any ways to make the release process simpler, please feel free to adjust it as you see fit :)
Thanks for the review. I'll dig into that in the next few days and report back. |
This comment was marked as resolved.
This comment was marked as resolved.
fc615c1
to
f813c4a
Compare
This comment was marked as resolved.
This comment was marked as resolved.
@ReenigneArcher hmmm, that's very odd. No idea sadly... but maybe it helps to recreate the repo instead of forking it? You could also try re-forking it |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
@ReenigneArcher Now that #2310 has been merged, this PR should be possible to test, right? |
@Snailedlt yes, I believe so. I just need to re-gather my thoughts on this as it has been a a while since I looked at all this. |
f813c4a
to
9436f25
Compare
This comment was marked as resolved.
This comment was marked as resolved.
|
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
68a90b5
to
23c24d8
Compare
23c24d8
to
b609cdc
Compare
Right, iirc it's uploaded as an artifact, and then later on the artifact is retrieved. It's a weird workaround for a very odd security issue with allowing workflows to run on forked repos. This is also related: #1715
Hmm, seems there is something wrong with the font creation in icomoon. devicon.eot is a file that should be downloaded from icomoon when creating the font. I also recommend reading about how we build the font in our wiki to get a better grasp of how it all works. It's been a while since I read it myself, so maybe I should too 😅
This wiki page is also very useful for an overview on most of our automated workflows, and it should also be updated when we update this one: https://github.com/devicons/devicon/wiki/Our-automated-tasks-and-bots |
Hmm, it might also be that icomoon has renamed the .eot file to something else, or that the GitHub cache is stuck or something.
|
This comment was marked as resolved.
This comment was marked as resolved.
Sounds like a good plan. Let me know if you get stuck :) |
This comment was marked as resolved.
This comment was marked as resolved.
Hmm, that's interesting 🤔 So I'm guessing the issue is somewhere in the build_icons.yml script then. Either that or icomoon changes their API. Have you checked if the .eot file is created when doing it on the master branch? If it is, then there must be something we changed after the last release that broke it, and if not it's likely something external, because I don't remember having any issues with a missing .eot file when making the last release |
This comment was marked as resolved.
This comment was marked as resolved.
I found the issue with the missing |
Double check these details before you open a PR
Features
This PR allows multi submission edits in a single PR, as discussed in #2270.
This PR closes NONE
Notes
I have tested this against the same branch that creates #2270 in my local fork. This is the resulting comment: ReenigneArcher#1 (comment). All of the comments are valid issues, so I believe this is working as expected.
Note, that somewhere in the code empty strings are getting added to the error list. I don't believe this is anything from my changes, but I have just removed the empties using the following line.
err_msg = list(filter(None, err_msg)) # remove empty strings from err_msg
Some trailing whitespace was also automatically removed from lines in modified files.
@Snailedlt FYI