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

New action that automatically edits PR bodies adding issue links #174

Merged
merged 1 commit into from
Jun 23, 2023

Conversation

mbladel
Copy link
Member

@mbladel mbladel commented Jun 23, 2023

This change adds a new action that automatically adds links to all Jira issues mentioned in commit messages. This is an opt-in feature, enabled with a new configuration property. The links are added only if the Jira issue keys are not already found in the PR body (either as links or as key-only).

When automatic editing is enabled, the "traditional" check for Jira keys mentions in either the title or body of PRs is disabled since we're going to link them automatically.

Related to #2.

Copy link
Member

@yrodiere yrodiere left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for working on this! LGTM overall, here are a few suggestions.

@yrodiere
Copy link
Member

@mbladel Merged, thanks! The new version of the bot should get deployed in a few minutes.

@yrodiere
Copy link
Member

@mbladel It's live

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 this pull request may close these issues.

Automatically add a comment with links to JIRA tickets mentioned in a PR
2 participants