File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66{{< autolink-issues repo ="devlikepro/waha-plus " > }}
77- fix #123
88- issue devlikepro/other-repo#45
9+ - mention #494
910{{< /autolink-issues > }}
1011*/}}
1112
1415{{- errorf "autolink-issues: missing required param 'repo'" -}}
1516{{- end -}}
1617
17- {{- $patternExplicit := `(?i)(?:fix|issue|pr|pull)\s+([A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+)#([0-9]+)` -}}
18+ {{- $patternExplicit := `(?i)(?:fix|issue|mention| pr|pull)\s+([A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+)#([0-9]+)` -}}
1819{{- $replaceExplicit := `< a href ="https://github.com/${1}/issues/${2} "> ${1}#${2}</ a > ` -}}
1920
20- {{- $patternDefault := `(?i)(?:fix|issue|pr|pull)\s*#([0-9]+)` -}}
21+ {{- $patternDefault := `(?i)(?:fix|issue|mention| pr|pull)\s*#([0-9]+)` -}}
2122{{- $replaceDefault := printf `< a href ="https://github.com/%s/issues/${1} "> #${1}</ a > ` $repo -}}
2223
2324{{- $text := .Inner -}}
You can’t perform that action at this time.
0 commit comments