-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Post-activation plugin (PR to automatically add a .drone.yml) #1161
Labels
Comments
I'm going to close. I definitely see how this could add a small amount of convenience, however, not enough to justify the technical complexity that would be required to implement this feature. |
bot2-harness
pushed a commit
that referenced
this issue
Mar 28, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We should add the ability to specify plugins post-activation (and maybe post-deactivation) and perhaps after other system events as well. An example for this sort of plugin would be opening a pull request to automatically add a
.drone.yml
or badge to theREADME.md
file.The reason this makes sense as a plugin is because Drone supports multiple remote systems (GitHub, Bitbucket, etc) and each one has slightly different APIs and processes that need to be followed. Bitbucket, for example, requires Mercurial integration as well as Git.
By pushing this functionality to a plugin, instead of a core Drone feature, it gives us flexibility and allows teams to customize this functionality to meet their specific organizational needs. It also means it can be turned on or off by the system admin. Or maybe you want the
.drone.yml
auto-populated with common commands or notification settings for your org -- you could alter the plugin to do so.The text was updated successfully, but these errors were encountered: