diff --git a/src/git/remotes/azure-devops.ts b/src/git/remotes/azure-devops.ts index 3861e9e..e7dacec 100644 --- a/src/git/remotes/azure-devops.ts +++ b/src/git/remotes/azure-devops.ts @@ -54,7 +54,7 @@ export class AzureDevOpsRemote extends RemoteProvider { title: `Open Work Item # on ${this.name}`, type: AutolinkType.Issue, - description: `Work Item # on ${this.name}`, + description: `${this.name} Work Item #`, }, { // Default Pull request message when merging a PR in ADO. Will not catch commits & pushes following a different pattern. @@ -63,7 +63,7 @@ export class AzureDevOpsRemote extends RemoteProvider { title: `Open Pull Request # on ${this.name}`, type: AutolinkType.PullRequest, - description: `Pull Request # on ${this.name}`, + description: `${this.name} Pull Request #`, }, ]; } diff --git a/src/git/remotes/bitbucket-server.ts b/src/git/remotes/bitbucket-server.ts index cf634ea..8a372e3 100644 --- a/src/git/remotes/bitbucket-server.ts +++ b/src/git/remotes/bitbucket-server.ts @@ -24,7 +24,7 @@ export class BitbucketServerRemote extends RemoteProvider { title: `Open Issue # on ${this.name}`, type: AutolinkType.Issue, - description: `Issue # on ${this.name}`, + description: `${this.name} Issue #`, }, { prefix: 'pull request #', @@ -33,7 +33,7 @@ export class BitbucketServerRemote extends RemoteProvider { title: `Open Pull Request # on ${this.name}`, type: AutolinkType.PullRequest, - description: `Pull Request # on ${this.name}`, + description: `${this.name} Pull Request #`, }, ]; } diff --git a/src/git/remotes/bitbucket.ts b/src/git/remotes/bitbucket.ts index e0ade3c..06c2e7d 100644 --- a/src/git/remotes/bitbucket.ts +++ b/src/git/remotes/bitbucket.ts @@ -24,7 +24,7 @@ export class BitbucketRemote extends RemoteProvider { title: `Open Issue # on ${this.name}`, type: AutolinkType.Issue, - description: `Issue # on ${this.name}`, + description: `${this.name} Issue #`, }, { prefix: 'pull request #', @@ -32,7 +32,7 @@ export class BitbucketRemote extends RemoteProvider { title: `Open Pull Request # on ${this.name}`, type: AutolinkType.PullRequest, - description: `Pull Request # on ${this.name}`, + description: `${this.name} Pull Request #`, }, ]; } diff --git a/src/git/remotes/gerrit.ts b/src/git/remotes/gerrit.ts index e567cfd..c0f1d2a 100644 --- a/src/git/remotes/gerrit.ts +++ b/src/git/remotes/gerrit.ts @@ -42,7 +42,7 @@ export class GerritRemote extends RemoteProvider { title: `Open Change # on ${this.name}`, alphanumeric: true, - description: `Change # on ${this.name}`, + description: `${this.name} Change #`, }, ]; } diff --git a/src/git/remotes/gitea.ts b/src/git/remotes/gitea.ts index def06f8..2013fec 100644 --- a/src/git/remotes/gitea.ts +++ b/src/git/remotes/gitea.ts @@ -24,7 +24,7 @@ export class GiteaRemote extends RemoteProvider { title: `Open Issue # on ${this.name}`, type: AutolinkType.Issue, - description: `Issue # on ${this.name}`, + description: `${this.name} Issue #`, }, ]; } diff --git a/src/git/remotes/github.ts b/src/git/remotes/github.ts index 6112b74..140a13d 100644 --- a/src/git/remotes/github.ts +++ b/src/git/remotes/github.ts @@ -60,7 +60,7 @@ export class GitHubRemote extends RichRemoteProvider { url: `${this.baseUrl}/issues/`, title: `Open Issue or Pull Request # on ${this.name}`, - description: `Issue or Pull Request # on ${this.name}`, + description: `${this.name} Issue or Pull Request #`, }, { prefix: 'gh-', @@ -68,7 +68,7 @@ export class GitHubRemote extends RichRemoteProvider { title: `Open Issue or Pull Request # on ${this.name}`, ignoreCase: true, - description: `Issue or Pull Request # on ${this.name}`, + description: `${this.name} Issue or Pull Request #`, }, { tokenize: ( @@ -110,7 +110,7 @@ export class GitHubRemote extends RichRemoteProvider { url: `${this.protocol}://${this.domain}/${repo}/issues/${num}`, title: `Open Issue or Pull Request # from ${repo} on ${this.name}`, - description: `Issue or Pull Request #${num} from ${repo} on ${this.name}`, + description: `${this.name} Issue or Pull Request ${repo}#${num}`, }); } while (true); }, diff --git a/src/git/remotes/gitlab.ts b/src/git/remotes/gitlab.ts index cd568e5..3d9f175 100644 --- a/src/git/remotes/gitlab.ts +++ b/src/git/remotes/gitlab.ts @@ -56,7 +56,7 @@ export class GitLabRemote extends RichRemoteProvider { title: `Open Issue # on ${this.name}`, type: AutolinkType.Issue, - description: `Issue # on ${this.name}`, + description: `${this.name} Issue #`, }, { prefix: '!', @@ -64,7 +64,7 @@ export class GitLabRemote extends RichRemoteProvider { title: `Open Merge Request ! on ${this.name}`, type: AutolinkType.PullRequest, - description: `Merge Request ! on ${this.name}`, + description: `${this.name} Merge Request !`, }, { tokenize: ( @@ -107,7 +107,7 @@ export class GitLabRemote extends RichRemoteProvider { title: `Open Issue # from ${repo} on ${this.name}`, type: AutolinkType.Issue, - description: `Issue #${num} from ${repo} on ${this.name}`, + description: `${this.name} Issue ${repo}#${num}`, }); } while (true); },