Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

There's a workaround for the 'pull request and required check' issue. You create an alternative 'no op' version of each required check workflow that just does nothing and exits with code 0 with the inverse of the trigger for the "real" one.

The required check configuration on github is just based off of job name, so either the trigger condition is true, and the real one has to succeed or the trigger condition is false and the no op one satisfies the PR completion rules instead.

It seems crazy to me that such basic functionality needs such a hacky workaround, but there it is.



Or you can just check if the step was skipped. I don't get the point of the article.

Managing a monorepo with acyclic dependencies is super easy: dornys path filter in one job and the other jobs check

1. whether their respective or any dependency's path got changed 2. and all dependency jobs were either successful or skipped.

Done. No need to write an article.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: