Skip to content

Commit 0b20e0a

Browse files
authored
Merge pull request #1091 from chocolatey/repo-sync/github/default
(maint) synced file(s) with chocolatey/.github
2 parents c81b23d + 41199cd commit 0b20e0a

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

.github/workflows/top-issues.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
name: Top Issues Action
1+
name: Top Votes Action
22
on:
33
workflow_dispatch:
44
schedule:
55
- cron: '12 05 */1 * *'
66

77
jobs:
88
ShowTopIssues:
9-
name: Display top issues
9+
name: Display top votes
1010
runs-on: ubuntu-latest
1111
steps:
12-
- name: Run top issues action
13-
uses: rickstaa/top-issues-action@v1.3.101
12+
- name: Run top votes action
13+
uses: pauby/top-votes-action@v1
1414
env:
1515
github_token: ${{ secrets.GITHUB_TOKEN }}
1616
with:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<a href="{{contributor.html_url}}"><img src="{{contributor.avatar_url}}" alt="{{contributor.login}}" height="32" width="32"/></a>
1+
<a href="{{contributor.html_url}}"><img src="{{contributor.avatar_url}}" alt="Profile image for contributor {{contributor.login}}" height="32" width="32"/></a>

.templates/contributors/contributors.sbn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22

3-
__Contributors__
3+
### Contributors
44

55
{{ contributors.count }} contributors made this release possible.
66

.templates/contributors/index.sbn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{{-
22
include 'release-info'
3-
if milestone.target.description
3+
if milestone.target.description != ""
44
include 'milestone'
55
end
66
include 'issues' | string.rstrip
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
### {{ issue_label }}
2-
32
{{ for issue in issues.items[issue_label]
43
include 'issue-note'
54
end }}
5+

.templates/contributors/issue-note.sbn

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{{
22
func IssueDescription
33
if $0.is_pull_request
4-
$description = "[__!" + $0.public_number + "__]"
4+
$description = "[!" + $0.public_number + "]"
55
else
6-
$description = "[__#" + $0.public_number + "__]"
6+
$description = "[#" + $0.public_number + "]"
77
end
88
$description = $description + "(" + $0.html_url + ")"
99
if $1
10-
$description = $0.title + " - see " + $description
10+
$description = $0.title + "." + "\n - See " + $description
1111
end
1212
if $0.user
1313
$description = $description + " by [" + $0.user.login + "](" + $0.user.html_url + ")"
@@ -23,7 +23,7 @@ func LinkedIssuesDescription
2323
for linkedIssue in $0
2424
if linkedIssue.is_pull_request
2525
if $countPRs == 0
26-
$resolvedBy = " resolved in "
26+
$resolvedBy = ", resolved in "
2727
else
2828
$resolvedBy = $resolvedBy + ", "
2929
end

0 commit comments

Comments
 (0)