forked from backstage/community-plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
Add config option #14
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
Open
djanickova
wants to merge
10
commits into
template-update-pull-requests
Choose a base branch
from
config-pr
base: template-update-pull-requests
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Diana Janickova <[email protected]>
Signed-off-by: Diana Janickova <[email protected]>
Signed-off-by: Diana Janickova <[email protected]>
Signed-off-by: Diana Janickova <[email protected]>
9bcb760 to
b7a0a5a
Compare
Signed-off-by: Diana Janickova <[email protected]>
Signed-off-by: Diana Janickova <[email protected]>
Signed-off-by: Diana Janickova <[email protected]>
Signed-off-by: Diana Janickova <[email protected]>
Signed-off-by: Diana Janickova <[email protected]>
Signed-off-by: Diana Janickova <[email protected]>
dzemanov
approved these changes
Dec 18, 2025
Collaborator
dzemanov
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.


Hey, I just made a Pull Request!
Added another part to the config so that the PR creation can be enabled/disabled.
By default, the text of the notification differs when the user has PR creation disabled (previous default message) and enabled (new default message). They can still configure a custom message as well and there is another variable supported for it ($PR_LINK). If the PR creation fails, the notification is still sent with a default text (together with the error details and a link to the docs).
I also updated the README and create a new .md file dedicated just for this feature, which I is linked from the main README and can also be found in the notification of a failed PR and the created PR description.
This is an example screenshot of when 2 PRs were created (for both Github and Gitlab) and I provided a custom title and description for the notification:

The config in this case was:
This is an example screenshot of when 2PRs were not created because of an error, so the default message together with the error details and link to documentation was sent in the description:

I will be happy to hear any feedback!
✔️ Checklist
Signed-off-byline in the message. (more info)