You should be able to copy-paste the section above dir = { from activity into the target app.
And then copy-paste the whole section from def main to the bottom from activity into the target app.
That will make sure that the starlark code is the same as the activity app - just the config = { is customized for each app.
In the config section you will need to change "from_secret": "private_rocketchat" to `"from_secret": "rocketchat_chat_webhook"
All the PRs are merged and refactoring is done in all apps. So closing this issue. If any apps found to refactor are not done, then the issue can be reopened.
To take into account the recent changes to drone env var names.
Update the drone starlark code like what was done in PR https://github.com/owncloud/activity/pull/1182
You should be able to copy-paste the section above
dir = {
from activity into the target app. And then copy-paste the whole section fromdef main
to the bottom from activity into the target app. That will make sure that the starlark code is the same as the activity app - just theconfig = {
is customized for each app.In the
config
section you will need to change"from_secret": "private_rocketchat"
to `"from_secret": "rocketchat_chat_webhook"