Replies: 1 comment 4 replies
-
If it were me, I would write the shared danger rules as a danger plugin, then each project can import the plugin and execute it within their own Dangerfiles. You shouldn't think of the "whole" Dangerfile as itself a reusable unit, unless you're doing something like DangerJS Peril |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So, I have a project, which I deliver as docker image to be run in gitlab pipeline with bundled dangerfile in the image.
KInd of like:
that all works fine.
now to test the new changes in merge request, an inside same project I just override DANGER_DANGERFILE:
that is also fine
But any ideas on how to run the dangerfile.ts (and its dependencies) to third-party project?
Can danger.js load files over http? or git repo? or gitlab api?
Beta Was this translation helpful? Give feedback.
All reactions