Skip to content
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

Custom messages for specific actions #318

Closed
heurtematte opened this issue Nov 12, 2024 · 4 comments · Fixed by #331
Closed

Custom messages for specific actions #318

heurtematte opened this issue Nov 12, 2024 · 4 comments · Fixed by #331

Comments

@heurtematte
Copy link
Contributor

I would like otterdog to implement custom messages for specific actions depending on the organization configuration.

E.g: with this ticket https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/issues/5267

When otterdog create a new repository, I would like otterdog to add a message to the PR after a repository newly created with something like:

The GitHub repo https://github.com/eclipse-<project_id>/some_repo has been created. Committers will gain access to it once the sync script runs (~2h).

Note: Implement a pre-action message or a post-action message, to order correctly messages and actions.

@netomi
Copy link
Contributor

netomi commented Nov 12, 2024

there is already a pre-add hook we could also add a post-add hook.

@matbmoser
Copy link

Thank you for the feature <3

@netomi
Copy link
Contributor

netomi commented Nov 15, 2024

should be live now, but it will only be seen once a repo has been created ofc.

@netomi
Copy link
Contributor

netomi commented Nov 19, 2024

You see how it looks like in this PR: eclipse-sumo/.eclipsefdn#4

I added an additional linebreak before the warning as otherwise it looks too packed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants