fix: Use dorny changes files instead of compromised tj-actions one#22359
fix: Use dorny changes files instead of compromised tj-actions one#22359andrii-korotkov-verkada wants to merge 4 commits intoargoproj:masterfrom
Conversation
❌ Preview Environment deleted from BunnyshellAvailable commands (reply to this comment):
|
11f5a31 to
97ba8f5
Compare
The later was compromised and taken down, the former seems like a drop-in replacement Signed-off-by: Andrii Korotkov <andrii.korotkov@verkada.com>
97ba8f5 to
e1634a4
Compare
Address tests flakiness by adjusting batch event processing time to 1ms in e2e tests (as there's little to process) and waiting for 5ms in When and Then to account for that delay. Signed-off-by: Andrii Korotkov <andrii.korotkov@verkada.com>
Signed-off-by: Andrii Korotkov <andrii.korotkov@verkada.com>
|
Now I remember why I originally didn't go with dorny 😢 (see #17180)
|
|
See dorny/paths-filter#45, although IIRC AND-ing everything on one line didn't really work either. |
|
Let me see if I can avoid negations |
|
Seems like micromatch they use now should handle negated | pattern https://github.com/dorny/paths-filter/blob/de90cc6fb38fc0963ad72b210f1f284cd68cea36/CHANGELOG.md?plain=1#L67 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #22359 +/- ##
=========================================
Coverage ? 55.84%
=========================================
Files ? 343
Lines ? 57323
Branches ? 0
=========================================
Hits ? 32010
Misses ? 22656
Partials ? 2657 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Andrii Korotkov <andrii.korotkov@verkada.com>
todaywasawesome
left a comment
There was a problem hiding this comment.
This project might be abandoned with no releases in the last year. dorny/paths-filter#262
|
@todaywasawesome, the last release was slightly more than a year ago, which is still not too bad for a simple action. We use some libs in Argo which are 5+ years old and not maintained, which is still often okay due to their simplicity. |
|
For reference, tj-actions/changed-files has been reinstated on Sunday (Mar 17) and there is an issue discussing it here: tj-actions/changed-files#2464. Here is the response from one of the maintainers: tj-actions/changed-files#2464 (comment) In another comment, they also mentioned that whey will require signed commits My 2 cents: these things happen, accounts get compromised, dependencies get attacked, repos get hijacked unfortunately pretty frequently. I think their response to this whole thing is more important than the fact that it happened. If they try to learn from it, take action and put measures in place to make sure this doesn't happen, then I think it's worth considering to keep using the action. The fact that we are pinning the action to a specific commit also makes it fairly safe, as long as the action is vetted when the commit SHA is updated. I also don't think that replacing it with a seemingly abandoned action just for the sake of not using an action that has been compromised in the past is the right move here. |
|
Thanks for your response. I'm still concerned that nobody is able to tell how the PAT got compromised. Yet I appreciate how they handled the response. |
|
A consensus on a thread seems to be to keep using tj-actions action, so closing this https://cloud-native.slack.com/archives/C020XM04CUW/p1742051731832059 |
The later was compromised and taken down, the former seems like an almost drop-in replacement
Checklist: