Skip to content

Commit 3c71244

Browse files
committed
⬆️ Bump files with dotnet-file sync
# devlooped/oss - Improve triage actions on issues devlooped/oss@33000c0 - Add common sponsors metadata to assemblies devlooped/oss@0789bf0 - Update assembly metadata format for Funding.GitHub devlooped/oss@5801de0 - SponsorLink metadata will be opt-in only by analyzer projects devlooped/oss@c618ea8 - Update dotnet-file.yml with fix to create pull request action devlooped/oss@11a331d - Update to checkout@v4 devlooped/oss@5fb1723 - Don't add random wait on manual dotnet-file runs devlooped/oss@7afe350 - Improve default value for GenerateDocumentationFile devlooped/oss@b76de49 - Fix typo in targets devlooped/oss@33a20db
1 parent f308a88 commit 3c71244

15 files changed

+175
-171
lines changed

.gitattributes

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,8 @@
1-
# sln, csproj files (and friends) are always CRLF, even on linux
2-
*.sln text eol=crlf
3-
*.proj text eol=crlf
4-
*.csproj text eol=crlf
1+
# normalize by default
2+
* text=auto encoding=UTF-8
3+
*.sh text eol=lf
54

65
# These are windows specific files which we may as well ensure are
76
# always crlf on checkout
87
*.bat text eol=crlf
98
*.cmd text eol=crlf
10-
11-
# Opt in known filetypes to always normalize line endings on checkin
12-
# and always use native endings on checkout
13-
*.c text
14-
*.config text
15-
*.h text
16-
*.cs text
17-
*.md text
18-
*.tt text
19-
*.txt text
20-
21-
# Some must always be checked out as lf so enforce that for those files
22-
# If these are not lf then bash/cygwin on windows will not be able to
23-
# excute the files
24-
*.sh text eol=lf

.github/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ changelog:
88
- invalid
99
- wontfix
1010
- need info
11-
- docs
1211
- techdebt
1312
authors:
1413
- devlooped-bot
@@ -24,6 +23,7 @@ changelog:
2423
- title: 📝 Documentation updates
2524
labels:
2625
- docs
26+
- documentation
2727
- title: 🔨 Other
2828
labels:
2929
- '*'

.github/workflows/changelog.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
usernames-as-github-logins=true
22
issues_wo_labels=true
33
pr_wo_labels=true
4-
exclude-labels=bydesign,dependencies,duplicate,question,invalid,wontfix,need info,docs
4+
exclude-labels=bydesign,dependencies,duplicate,discussion,question,invalid,wontfix,need info,docs
55
enhancement-label=:sparkles: Implemented enhancements:
66
bugs-label=:bug: Fixed bugs:
77
issues-label=:hammer: Other:

.github/workflows/changelog.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
github_token: ${{ secrets.GITHUB_TOKEN }}
1818

1919
- name: 🤘 checkout
20-
uses: actions/checkout@v2
20+
uses: actions/checkout@v4
2121
with:
2222
fetch-depth: 0
2323
ref: main

.github/workflows/dotnet-file.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,15 @@ jobs:
2424
github_token: ${{ secrets.GITHUB_TOKEN }}
2525

2626
- name: 🤘 checkout
27-
uses: actions/checkout@v2
27+
uses: actions/checkout@v4
2828
with:
2929
fetch-depth: 0
3030
ref: main
3131
token: ${{ env.GH_TOKEN }}
3232

3333
- name: ⌛ rate
3434
shell: pwsh
35+
if: github.event_name != 'workflow_dispatch'
3536
run: |
3637
# add random sleep since we run on fixed schedule
3738
sleep (get-random -max 60)
@@ -70,7 +71,7 @@ jobs:
7071
validate: false
7172

7273
- name: ✍ pull request
73-
uses: peter-evans/create-pull-request@v4
74+
uses: peter-evans/create-pull-request@v6
7475
with:
7576
base: main
7677
branch: dotnet-file-sync

.github/workflows/includes.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,17 @@ jobs:
2121
github_token: ${{ secrets.GITHUB_TOKEN }}
2222

2323
- name: 🤘 checkout
24-
uses: actions/checkout@v2
24+
uses: actions/checkout@v4
2525
with:
2626
token: ${{ env.GH_TOKEN }}
2727

2828
- name: +Mᐁ includes
2929
uses: devlooped/actions-includes@v1
3030

3131
- name: ✍ pull request
32-
uses: peter-evans/create-pull-request@v4
32+
uses: peter-evans/create-pull-request@v6
3333
with:
34+
add-paths: '**.md'
3435
base: main
3536
branch: markdown-includes
3637
delete-branch: true

.github/workflows/sponsor.yml

Lines changed: 0 additions & 24 deletions
This file was deleted.

.github/workflows/test/action.yml

Lines changed: 0 additions & 36 deletions
This file was deleted.

.github/workflows/triage.yml

Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
name: 'triage'
2+
on:
3+
schedule:
4+
- cron: '42 0 * * *'
5+
6+
workflow_dispatch:
7+
# Manual triggering through the GitHub UI, API, or CLI
8+
inputs:
9+
daysBeforeClose:
10+
description: "Days before closing stale or need info issues"
11+
required: true
12+
default: "30"
13+
daysBeforeStale:
14+
description: "Days before labeling stale"
15+
required: true
16+
default: "180"
17+
daysSinceClose:
18+
description: "Days since close to lock"
19+
required: true
20+
default: "30"
21+
daysSinceUpdate:
22+
description: "Days since update to lock"
23+
required: true
24+
default: "30"
25+
26+
permissions:
27+
actions: write # For managing the operation state cache
28+
issues: write
29+
contents: read
30+
31+
jobs:
32+
stale:
33+
# Do not run on forks
34+
if: github.repository_owner == 'devlooped'
35+
runs-on: ubuntu-latest
36+
steps:
37+
- name: ⌛ rate
38+
shell: pwsh
39+
if: github.event_name != 'workflow_dispatch'
40+
env:
41+
GH_TOKEN: ${{ secrets.DEVLOOPED_TOKEN }}
42+
run: |
43+
# add random sleep since we run on fixed schedule
44+
$wait = get-random -max 180
45+
echo "Waiting random $wait seconds to start"
46+
sleep $wait
47+
# get currently authenticated user rate limit info
48+
$rate = gh api rate_limit | convertfrom-json | select -expandproperty rate
49+
# if we don't have at least 100 requests left, wait until reset
50+
if ($rate.remaining -lt 100) {
51+
$wait = ($rate.reset - (Get-Date (Get-Date).ToUniversalTime() -UFormat %s))
52+
echo "Rate limit remaining is $($rate.remaining), waiting for $($wait / 1000) seconds to reset"
53+
sleep $wait
54+
$rate = gh api rate_limit | convertfrom-json | select -expandproperty rate
55+
echo "Rate limit has reset to $($rate.remaining) requests"
56+
}
57+
58+
- name: ✏️ stale labeler
59+
# pending merge: https://github.com/actions/stale/pull/1176
60+
uses: kzu/stale@c8450312ba97b204bf37545cb249742144d6ca69
61+
with:
62+
ascending: true # Process the oldest issues first
63+
stale-issue-label: 'stale'
64+
stale-issue-message: |
65+
Due to lack of recent activity, this issue has been labeled as 'stale'.
66+
It will be closed if no further activity occurs within ${{ fromJson(inputs.daysBeforeClose || 30 ) }} more days.
67+
Any new comment will remove the label.
68+
close-issue-message: |
69+
This issue will now be closed since it has been labeled 'stale' without activity for ${{ fromJson(inputs.daysBeforeClose || 30 ) }} days.
70+
days-before-stale: ${{ fromJson(inputs.daysBeforeStale || 180) }}
71+
days-before-close: ${{ fromJson(inputs.daysBeforeClose || 30 ) }}
72+
days-before-pr-close: -1 # Do not close PRs labeled as 'stale'
73+
exempt-all-milestones: true
74+
exempt-all-assignees: true
75+
exempt-issue-labels: priority,sponsor,backed
76+
exempt-authors: kzu
77+
78+
- name: 🤘 checkout actions
79+
uses: actions/checkout@v4
80+
with:
81+
repository: 'microsoft/vscode-github-triage-actions'
82+
ref: v42
83+
84+
- name: ⚙ install actions
85+
run: npm install --production
86+
87+
- name: 🔒 issues locker
88+
uses: ./locker
89+
with:
90+
token: ${{ secrets.DEVLOOPED_TOKEN }}
91+
ignoredLabel: priority
92+
daysSinceClose: ${{ fromJson(inputs.daysSinceClose || 30) }}
93+
daysSinceUpdate: ${{ fromJson(inputs.daysSinceUpdate || 30) }}
94+
95+
- name: 🔒 need info closer
96+
uses: ./needs-more-info-closer
97+
with:
98+
token: ${{ secrets.DEVLOOPED_TOKEN }}
99+
label: 'need info'
100+
closeDays: ${{ fromJson(inputs.daysBeforeClose || 30) }}
101+
closeComment: "This issue has been closed automatically because it needs more information and has not had recent activity.\n\nHappy Coding!"
102+
pingDays: 80
103+
pingComment: "Hey @${assignee}, this issue might need further attention.\n\n@${author}, you can help us out by closing this issue if the problem no longer exists, or adding more information."

.netconfig

Lines changed: 22 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
weak
2929
[file ".gitattributes"]
3030
url = https://github.com/devlooped/oss/blob/main/.gitattributes
31-
sha = 0683ee777d7d878d4bf013d7deea352685135a05
32-
etag = 7acb32f5fa6d4ccd9c824605a7c2b8538497f0068c165567807d393dcf4d6bb7
31+
sha = 5f92a68e302bae675b394ef343114139c075993e
32+
etag = 338ba6d92c8d1774363396739c2be4257bfc58026f4b0fe92cb0ae4460e1eff7
3333
weak
3434
[file ".github/FUNDING.yml"]
3535
url = https://github.com/devlooped/.github/blob/main/.github/FUNDING.yml
@@ -46,31 +46,26 @@
4646
skip
4747
[file ".github/workflows/changelog.yml"]
4848
url = https://github.com/devlooped/oss/blob/main/.github/workflows/changelog.yml
49-
sha = a4b66eb5f4dfb9704502f19f59ba33cb4855188c
50-
etag = 54c0b571648b1055beb3ddac180b34e93a9869b9f0277de306901b2c1dbe0b2c
49+
sha = 5fb172362c767bef7c36478f1a6bdc264723f8f9
50+
etag = ad1efa56d6024ee1add2bcda81a7e4e38d0e9069473c6ff70374d5ce06af1f5a
5151
weak
5252
[file ".github/workflows/dotnet-file.yml"]
5353
url = https://github.com/devlooped/oss/blob/main/.github/workflows/dotnet-file.yml
54-
sha = f08c3f28e46e28eb31e70846d65e57aa9553ce56
55-
etag = 567444486383d032c1c5fbc538f07e860f92b1d08c66ac6ffb1db64ca539251c
54+
sha = 7afe350f7e80a230e922db026d4e1198ba15cae1
55+
etag = 65e9794df6caff779eb989c8f71ddf4d4109b24a75af79e4f8d0fe6ba7bd9702
5656
weak
5757
[file ".github/workflows/publish.yml"]
5858
url = https://github.com/devlooped/oss/blob/main/.github/workflows/publish.yml
5959
skip
60-
[file ".github/workflows/test/action.yml"]
61-
url = https://github.com/devlooped/oss/blob/main/.github/workflows/test/action.yml
62-
sha = 9a1b07589b9bde93bc12528e9325712a32dec418
63-
etag = b54216ac431a83ce5477828d391f02046527e7f6fffd21da1d03324d352c3efb
64-
weak
6560
[file ".gitignore"]
6661
url = https://github.com/devlooped/oss/blob/main/.gitignore
6762
sha = 02811fa23b0a102b9b33048335d41e515bf75737
6863
etag = a9c37ae312afac14b78436a7d018af4483d88736b5f780576f2c5a0b3f14998c
6964
weak
7065
[file "Directory.Build.rsp"]
7166
url = https://github.com/devlooped/oss/blob/main/Directory.Build.rsp
72-
sha = ae25fae9d7daf0cb47d537ba870914aa3052f0c9
73-
etag = 6a6c6e1d3895df953abf14c82b0899e3eea75cdcd679f6212dcfea15183d73d6
67+
sha = 0f7f7f7e8a29de9b535676f75fe7c67e629a5e8c
68+
etag = 0ccae83fc51f400bfd7058170bfec7aba11455e24a46a0d7e6a358da6486e255
7469
weak
7570
[file "_config.yml"]
7671
url = https://github.com/devlooped/oss/blob/main/_config.yml
@@ -89,46 +84,41 @@
8984
weak
9085
[file "src/Directory.Build.props"]
9186
url = https://github.com/devlooped/oss/blob/main/src/Directory.Build.props
92-
sha = b1d14c6379e5820eb2c30e08bedbdf6e9c8e8cb2
93-
etag = 33cd19e0f599f444c320406da3452e9e84d28c3bb13c09e9190d9d2e7f129545
87+
sha = b76de49afb376aa48eb172963ed70663b59b31d3
88+
etag = c8b56f3860cc7ccb8773b7bd6189f5c7a6e3a2c27e9104c1ee201fbdc5af9873
9489
weak
9590
[file "src/Directory.Build.targets"]
9691
url = https://github.com/devlooped/oss/blob/main/src/Directory.Build.targets
97-
sha = 1bf1eacc7ac3920d52c8e7045bfa34abc7c05302
98-
etag = 7cb1421f00d9f6f4c00f0ca98e485dcadb927cfa6b3f0b5d4fb212525d2ce9c0
92+
sha = a8b208093599263b7f2d1fe3854634c588ea5199
93+
etag = 19087699f05396205e6b050d999a43b175bd242f6e8fac86f6df936310178b03
9994
weak
10095
[file "src/kzu.snk"]
10196
url = https://github.com/devlooped/oss/blob/main/src/kzu.snk
10297
sha = 0683ee777d7d878d4bf013d7deea352685135a05
10398
etag = b8d789b5b6bea017cdcc8badcea888ad78de3e34298efca922054e9fb0e7b6b9
10499
weak
105-
[file "src/nuget.config"]
106-
url = https://github.com/devlooped/oss/blob/main/src/nuget.config
107-
sha = b2fa09bd9db6de89e37a8ba6705b5659e435dafd
108-
etag = eb2d09e546aa1e11c0b464d9ed6ab2d3c028a1d86c3ac40a318053625fb72819
109-
weak
110100
[file ".github/workflows/combine-prs.yml"]
111101
url = https://github.com/devlooped/oss/blob/main/.github/workflows/combine-prs.yml
112102
sha = c1610886eba42cb250e3894aed40c0a258cd383d
113103
etag = 598ee294649a44d4c5d5934416c01183597d08aa7db7938453fd2bbf52a4e64d
114104
weak
115105
[file ".github/workflows/includes.yml"]
116106
url = https://github.com/devlooped/oss/blob/main/.github/workflows/includes.yml
117-
sha = ac753b791d03997eb655efb26ae141b51addd1c0
118-
etag = fcd94a08ac9ebc0e8351deac4e7f085cf8ef67816cc50006e068f44166096eb8
107+
sha = d152e7437fd0d6f6d9363d23cb3b78c07335ea49
108+
etag = ec40db34f379d0c6d83b2ec15624f330318a172cc4f85b5417c63e86eaf601df
119109
weak
120110
[file ".github/release.yml"]
121111
url = https://github.com/devlooped/oss/blob/main/.github/release.yml
122-
sha = 1afd173fe8f81b510c597737b0d271218e81fa73
123-
etag = 482dc2c892fc7ce0cb3a01eb5d9401bee50ddfb067d8cb85873555ce63cf5438
112+
sha = 0c23e24704625cf75b2cb1fdc566cef7e20af313
113+
etag = 310df162242c95ed19ed12e3c96a65f77e558b46dced676ad5255eb12caafe75
124114
weak
125115
[file ".github/workflows/changelog.config"]
126116
url = https://github.com/devlooped/oss/blob/main/.github/workflows/changelog.config
127-
sha = 055a8b7c94b74ae139cce919d60b83976d2a9942
128-
etag = ddb17acb5872e9e69a76f9dec0ca590f25382caa2ccf750df058dcabb674db2b
117+
sha = 08d83cb510732f861416760d37702f9f55bd7f9e
118+
etag = 556a28914eeeae78ca924b1105726cdaa211af365671831887aec81f5f4301b4
129119
weak
130-
[file ".github/workflows/sponsor.yml"]
131-
url = https://github.com/devlooped/oss/blob/main/.github/workflows/sponsor.yml
132-
sha = 8990ebb36199046e0b8098bad9e46dcef739c56e
133-
etag = e1dc114d2e8b57d50649989d32dbf0c9080ec77da3738a4cc79e9256d6ca5d3e
120+
[file ".github/workflows/triage.yml"]
121+
url = https://github.com/devlooped/oss/blob/main/.github/workflows/triage.yml
122+
sha = 33000c0c4ab4eb4e0e142fa54515b811a189d55c
123+
etag = 013a47739e348f06891f37c45164478cca149854e6cd5c5158e6f073f852b61a
134124
weak

0 commit comments

Comments
 (0)