Skip to content

Commit 657220a

Browse files
authored
Merge pull request #1116 from chocolatey/release/3.0.0
(release) 3.0.0
2 parents 0d7727c + 169bc1e commit 657220a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+888
-1999
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
packages.config @chocolatey/chocolatey-credits-reviewers
1+
*.csproj @chocolatey/chocolatey-credits-reviewers
22
CREDITS.md @chocolatey/chocolatey-credits-reviewers
33
CREDITS.json @chocolatey/chocolatey-credits-reviewers
44
CREDITS.pdf @chocolatey/chocolatey-credits-reviewers

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ jobs:
3636

3737
- name: Build project
3838
shell: powershell
39+
env:
40+
TRANSIFEX_API_TOKEN: ${{ secrets.TRANSIFEX_API_TOKEN }}
3941
run: |
4042
./build.ps1 --target=CI
4143

.github/workflows/label-sync.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Sync labels
2+
on:
3+
workflow_dispatch:
4+
schedule:
5+
# Run at the end of the day (most likely UTC)
6+
- cron: "0 0 * * *"
7+
push:
8+
branches:
9+
- main
10+
- master
11+
- develop
12+
paths:
13+
- '.github/workflows/label-sync.yml'
14+
# Uncomment the following line if using a repository specific label file, also remove this comment line
15+
# - '.github/labels.yml'
16+
17+
jobs:
18+
labels:
19+
# We use ubuntu as the image, as it is typically faster and cheaper (on private repos).
20+
runs-on: ubuntu-latest
21+
22+
steps:
23+
# Uncomment the following uses statement block if using a repository specific label file, also remove this comment line
24+
#- uses: actions/checkout@v4
25+
# with:
26+
# sparse-checkout: .github/labels.yml
27+
- uses: EndBug/label-sync@v2
28+
with:
29+
config-file: |
30+
https://raw.githubusercontent.com/chocolatey/.github/main/.github/labels.yml
31+
# Uncomment the following line if using a repository specific label file, also remove this comment line
32+
# .github/labels.yml
33+
request-token: ${{ secrets.SYNC_TOKEN }} # Used when getting the config files.
34+
delete-other-labels: true # After initial run, and verification change this to true
35+
dry-run: false
36+
token: ${{ secrets.SYNC_TOKEN }} # Used when updating the labels on the repository.
37+
38+
39+

.github/workflows/stale.yml

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
name: 'Stale Issue and PR Cleanup'
2+
on:
3+
workflow_dispatch:
4+
schedule:
5+
- cron: '0 4 * * *'
6+
7+
permissions:
8+
issues: write
9+
pull-requests: write
10+
11+
jobs:
12+
stale:
13+
runs-on: ubuntu-latest
14+
steps:
15+
# Action GitHub repository: https://github.com/actions/stale
16+
- uses: actions/stale@v9
17+
id: stale
18+
with:
19+
days-before-stale: 14
20+
days-before-close: 14
21+
exempt-all-assignees: false
22+
exempt-draft-pr: true
23+
stale-issue-label: "Pending Closure"
24+
stale-pr-label: "Pending Closure"
25+
only-labels: "0 - Waiting on User"
26+
close-issue-label: "No Response / Stale"
27+
close-issue-reason: "not_planned"
28+
close-pr-label: "No Response / Stale"
29+
exempt-issue-labels: "Security,2 - Working,3 - Review"
30+
exempt-pr-labels: "Security,2 - Working,3 - Review"
31+
labels-to-remove-when-unstale: "0 - Waiting on User,Pending closure"
32+
remove-stale-when-updated: true
33+
stale-issue-message: |
34+
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
35+
36+
37+
This issue will be closed in 14 days if it continues to be inactive.
38+
close-issue-message: |
39+
As this issue has been inactive for some time, it has been automatically closed.
40+
If you feel this is a valid issue, please feel free to re-open the issue if / when a pull request
41+
has been added.
42+
43+
44+
Thank you for your contribution.
45+
stale-pr-message: |
46+
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
47+
48+
49+
This pull request will be closed in 14 days if it continues to be inactive.
50+
close-pr-message: |
51+
As this pull request has been inactive for some time it has been automatically closed.
52+
53+
54+
If you feel the changes are still valid, please re-open the pull request once the changes and / or the additional information
55+
requested, has been added.
56+
57+
58+
Thank you for your contribution.

.github/workflows/top-issues.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Top Votes Action
2+
on:
3+
workflow_dispatch:
4+
schedule:
5+
- cron: '12 05 */1 * *'
6+
7+
jobs:
8+
ShowTopIssues:
9+
name: Display top votes
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Run top votes action
13+
uses: pauby/top-votes-action@v1
14+
env:
15+
github_token: ${{ secrets.GITHUB_TOKEN }}
16+
with:
17+
top_list_size: 10
18+
label: false
19+
dashboard: true
20+
dashboard_label: "Top Issues Dashboard"
21+
dashboard_show_total_reactions: true
22+
top_issues: true
23+
top_bugs: true
24+
bug_label: "Bug"
25+
top_features: true
26+
feature_label: "Enhancement"
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: 'Add Comment To New Issue'
2+
on:
3+
issues:
4+
types: opened
5+
permissions:
6+
contents: read
7+
issues: write
8+
9+
jobs:
10+
new_issue_comment:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: GrantBirki/comment@v2.1.0
14+
with:
15+
issue-number: ${{ github.event.issue.number }}
16+
body: |
17+
**To vote for this issue, please add a 👍 emoji to the issue description. Votes in comments are not recorded.**

0 commit comments

Comments
 (0)