I mentioned this in other thread, but one thing that concerns me is she has been saying its ‘her code’ and why she used specific object oriented patterns. I want her to save face and not be embarrassed, but at the same time its wrong to copy without giving appropriate credit
Ahh I see, that is unfortunate. Please don't take this as all around advice as I'm not sure what your relationship is like with this coworker, but here's what I can imagine doing in this situation:
I'd reach out in Slack DM (or whatever method of daily communication is commonly used) and ask: "Hey, was just reviewing on your PR (it's looking great) and noticed some familiar code from [name of source]. Do you know if we need to include attribution for these parts to be safe? [Link]"
It opens the conversation with a "casual" question - asking for advice, even - rather than a straight up accusation. The "it's looking great part" is likely unnecessary, I just have a habit of trying to throw in something good to start on a more positive note. It does ignore whatever claims have been made about writing the code that was taken, but perhaps it's not necessary to bring that up at all to start with, essentially giving this person an out to correct the mistake. With it now being clear that these things do get noticed, I'd think it's likely to not happen again.
But like I said, not sure if this is an appropriate approach for your specific situation.
I'd still say just follow /u/drakonka's advice. Just do it in a non-confrontational matter. Simply say this file was included which is legally fine you just need to add documentation attributing the project. You don't even need to point out that she added it. If the files are lifted directly, then there isn't any argument that you're wrong. You can only speculate as to how she'll react. She may simply (honestly) say it was an oversight.
That said I wouldn't worry about the legal aspects. Even if it's unethical, you're company simply isn't going to get in trouble for it. It's not really your problem anyway (though I guess they could be angry with you if they knew that you knew and never said anything).