-
-
Notifications
You must be signed in to change notification settings - Fork 372
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
[RFC] Remove the GitHub Action #1038
Comments
Those are my 2c on this, but they come mainly from the experience I have with danger-swift/kotlin. |
I also think it's a bad abstraction in danger-swift too, you can't share the build phase at all and so the problem is exacerbated over there with danger taking many minutes to be used. I almost unilaterally recommend that people never use the actions IRL. The biggest advantage is that it can have danger-js etc all set up ahead of time I don't think it's about removing the docker support, that's tangential - people are free to set stuff up how they like. If they're using docker, then they are already used to slow builds. Today people think that the actions are the first thing you should use, and that's a worse experience then just doing Danger with the rest of your project. |
Totally agree with this.
This is indeed a problem, but has also some solutions. While danger-swift can build and run in about 2 min and 30 seconds in actions, in a good CI machine and an SPM env I saw it build and run a good number of checks in 15-20 seconds.
I totally agree with this, I think this partially comes with many of the restrictions actions currently has given is still not mature, but I think actions should be used with caution, but can be useful. An example of real life usage: |
At Automattic, we started using the action from the marketplace, but quickly moved to running it directly because of how slower it was compared to Peril (which we are moving away from) and just running it directly. |
The current github action is broken: #557 (comment) |
In our main application, we have our own Dockerfile for all of our Github Actions scripts (ruby+yarn+nodejs), so we just install DangerJS as a regular Could we instead document setting up a GitHub action that does |
Updating my comment from July 2020: since then, my teams have used DangerJS as a normal package.json devDependency, and it works great. I have no objections to removing the Github Action -- except that some enterprising folks might feel inspired to publish their own unofficial ones, and muddy the waters. |
I've hit the button to delist it, existing workflows will still "work" but folks won't find it in the future |
Describe the bug
This repo opted into GitHub Actions as an "action" back during the alpha phase.
I don't think I thought enough about the repercussions, the CI for other takes much longer and is less predictable. I think it's just a much worse version of
npx danger ci
and we should probably stop making this repo show up as a GitHub Action.This also means updating some docs, and I think there are recommendations in the errors which use the action syntax.
The text was updated successfully, but these errors were encountered: