Skip to content

Commit d53ab9a

Browse files
devlooped-botkzu
authored andcommitted
⬆️ Bump files with dotnet-file sync
# devlooped/oss - Create stale.yml to label/close stale issues/PRs devlooped/oss@695ccee - NoTargets/Traversal SDKs now support central package versions too devlooped/oss@afca922 - Enable floating versions for central packages by default devlooped/oss@b1d14c6 - Update .gitignore with BenchmarkDotNet artifacts default path devlooped/oss@e20e906 - Remove whitespace and add results to ignore devlooped/oss@ef852e7 - Fix dependabot group for tests devlooped/oss@49661db - Only ignore App folder directly under the root devlooped/oss@02811fa - Add static usings to allow unprefixed ThrowXxxx devlooped/oss@6dfe21f - Add compatibility for non-SDK projects without InitializeSourceControlInformation target devlooped/oss@6e96c59 - Bump create-pr dependency to avoid error with existing PRs devlooped/oss@11a8757 - Only commit markdown files when resolving includes devlooped/oss@2c10a83 - Update to checkout@v4 devlooped/oss@5fb1723 - Set Version from VersionLabel if it's a refs/tags/ devlooped/oss@57653a2 - Cleanup build and publish to use VersionLabel devlooped/oss@14deaea - Improve default value for GenerateDocumentationFile devlooped/oss@b76de49 - 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 includes.yml to include top-level .md devlooped/oss@d152e74 - Skip discussion issues when generating changelog devlooped/oss@08d83cb - Fix typo in targets devlooped/oss@33a20db - Update dotnet-file.yml with fix to create pull request action devlooped/oss@11a331d - Don't add random wait on manual dotnet-file runs devlooped/oss@7afe350 - Add trx logger by default to CLI builds devlooped/oss@a75b141 - Remove -l:trx since it's just for dotnet test, not build devlooped/oss@0f7f7f7
1 parent 845b1db commit d53ab9a

14 files changed

+124
-164
lines changed

.github/dependabot.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ updates:
2929
- "Microsoft.AspNetCore*"
3030
Tests:
3131
patterns:
32-
- "Microsoft.NET.Tests*"
32+
- "Microsoft.NET.Test*"
3333
- "xunit*"
3434
- "coverlet*"
3535
ThisAssembly:

.github/workflows/changelog.config

+1-1
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

+1-1
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

+3-2
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

+3-2
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

-24
This file was deleted.

.github/workflows/stale.yml

+63-63
Original file line numberDiff line numberDiff line change
@@ -1,63 +1,63 @@
1-
name: 'stale'
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-
daysBeforeStale:
10-
required: true
11-
default: "180"
12-
daysBeforeClose:
13-
required: true
14-
default: "30"
15-
operationsPerRun:
16-
required: true
17-
default: "4000"
18-
19-
permissions:
20-
actions: write # For managing the operation state cache
21-
issues: write
22-
23-
jobs:
24-
stale:
25-
# Do not run on forks
26-
if: github.repository_owner == 'devlooped'
27-
runs-on: ubuntu-latest
28-
steps:
29-
- name: ⌛ rate
30-
shell: pwsh
31-
if: github.event_name != 'workflow_dispatch'
32-
run: |
33-
# add random sleep since we run on fixed schedule
34-
sleep (get-random -max 60)
35-
# get currently authenticated user rate limit info
36-
$rate = gh api rate_limit | convertfrom-json | select -expandproperty rate
37-
# if we don't have at least 100 requests left, wait until reset
38-
if ($rate.remaining -lt 10) {
39-
$wait = ($rate.reset - (Get-Date (Get-Date).ToUniversalTime() -UFormat %s))
40-
echo "Rate limit remaining is $($rate.remaining), waiting for $($wait / 1000) seconds to reset"
41-
sleep $wait
42-
$rate = gh api rate_limit | convertfrom-json | select -expandproperty rate
43-
echo "Rate limit has reset to $($rate.remaining) requests"
44-
}
45-
46-
- name: ✏️ label
47-
uses: actions/stale@v9
48-
with:
49-
ascending: true # Process the oldest issues first
50-
stale-issue-label: 'stale'
51-
stale-issue-message: |
52-
Due to lack of recent activity, this issue has been labeled as 'stale'.
53-
It will be closed if no further activity occurs within ${{ fromJson(inputs.daysBeforeClose || 30 ) }} more days.
54-
Any new comment will remove the label.
55-
close-issue-message: |
56-
This issue will now be closed since it has been labeled 'stale' without activity for ${{ fromJson(inputs.daysBeforeClose || 30 ) }} days.
57-
days-before-stale: ${{ fromJson(inputs.daysBeforeStale || 180) }}
58-
days-before-close: ${{ fromJson(inputs.daysBeforeClose || 30 ) }}
59-
days-before-pr-close: -1 # Do not close PRs labeled as 'stale'
60-
operations-per-run: ${{ fromJson(inputs.operationsPerRun || 4000 )}}
61-
exempt-all-milestones: true
62-
exempt-all-assignees: true
63-
exempt-issue-labels: priority,sponsor,backed
1+
name: 'stale'
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+
daysBeforeStale:
10+
required: true
11+
default: "180"
12+
daysBeforeClose:
13+
required: true
14+
default: "30"
15+
operationsPerRun:
16+
required: true
17+
default: "4000"
18+
19+
permissions:
20+
actions: write # For managing the operation state cache
21+
issues: write
22+
23+
jobs:
24+
stale:
25+
# Do not run on forks
26+
if: github.repository_owner == 'devlooped'
27+
runs-on: ubuntu-latest
28+
steps:
29+
- name: ⌛ rate
30+
shell: pwsh
31+
if: github.event_name != 'workflow_dispatch'
32+
run: |
33+
# add random sleep since we run on fixed schedule
34+
sleep (get-random -max 60)
35+
# get currently authenticated user rate limit info
36+
$rate = gh api rate_limit | convertfrom-json | select -expandproperty rate
37+
# if we don't have at least 100 requests left, wait until reset
38+
if ($rate.remaining -lt 100) {
39+
$wait = ($rate.reset - (Get-Date (Get-Date).ToUniversalTime() -UFormat %s))
40+
echo "Rate limit remaining is $($rate.remaining), waiting for $($wait / 1000) seconds to reset"
41+
sleep $wait
42+
$rate = gh api rate_limit | convertfrom-json | select -expandproperty rate
43+
echo "Rate limit has reset to $($rate.remaining) requests"
44+
}
45+
46+
- name: ✏️ label
47+
uses: actions/stale@v9
48+
with:
49+
ascending: true # Process the oldest issues first
50+
stale-issue-label: 'stale'
51+
stale-issue-message: |
52+
Due to lack of recent activity, this issue has been labeled as 'stale'.
53+
It will be closed if no further activity occurs within ${{ fromJson(inputs.daysBeforeClose || 30 ) }} more days.
54+
Any new comment will remove the label.
55+
close-issue-message: |
56+
This issue will now be closed since it has been labeled 'stale' without activity for ${{ fromJson(inputs.daysBeforeClose || 30 ) }} days.
57+
days-before-stale: ${{ fromJson(inputs.daysBeforeStale || 180) }}
58+
days-before-close: ${{ fromJson(inputs.daysBeforeClose || 30 ) }}
59+
days-before-pr-close: -1 # Do not close PRs labeled as 'stale'
60+
operations-per-run: ${{ fromJson(inputs.operationsPerRun || 4000 )}}
61+
exempt-all-milestones: true
62+
exempt-all-assignees: true
63+
exempt-issue-labels: priority,sponsor,backed

.github/workflows/test/action.yml

-36
This file was deleted.

.gitignore

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
bin
2-
app
32
obj
43
artifacts
54
pack
65
TestResults
6+
results
7+
BenchmarkDotNet.Artifacts
8+
/app
79
.vs
810
.vscode
911
.idea

.netconfig

+23-28
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,19 @@
55
skip
66
[file ".github/workflows/includes.yml"]
77
url = https://github.com/devlooped/oss/blob/main/.github/workflows/includes.yml
8-
sha = ac753b791d03997eb655efb26ae141b51addd1c0
9-
etag = fcd94a08ac9ebc0e8351deac4e7f085cf8ef67816cc50006e068f44166096eb8
8+
sha = d152e7437fd0d6f6d9363d23cb3b78c07335ea49
9+
etag = ec40db34f379d0c6d83b2ec15624f330318a172cc4f85b5417c63e86eaf601df
1010
weak
1111
[file ".github/workflows/dotnet-file.yml"]
1212
url = https://github.com/devlooped/oss/blob/main/.github/workflows/dotnet-file.yml
13-
sha = f08c3f28e46e28eb31e70846d65e57aa9553ce56
14-
etag = 567444486383d032c1c5fbc538f07e860f92b1d08c66ac6ffb1db64ca539251c
13+
sha = 7afe350f7e80a230e922db026d4e1198ba15cae1
14+
etag = 65e9794df6caff779eb989c8f71ddf4d4109b24a75af79e4f8d0fe6ba7bd9702
1515
weak
1616
[file ".github/FUNDING.yml"]
1717
url = https://github.com/devlooped/.github/blob/main/.github/FUNDING.yml
1818
sha = 39f4c591716ff50dd035d2fade35e5822489ab7f
1919
etag = a944c728facd033bbdfb4ff8d0ef10d0b3a457c277dc499458df0ffc7e6409da
2020
weak
21-
[file ".github/workflows/sponsor.yml"]
22-
url = https://github.com/devlooped/oss/blob/main/.github/workflows/sponsor.yml
23-
sha = 8990ebb36199046e0b8098bad9e46dcef739c56e
24-
etag = e1dc114d2e8b57d50649989d32dbf0c9080ec77da3738a4cc79e9256d6ca5d3e
25-
weak
2621
[file "readme.md"]
2722
url = https://github.com/devlooped/oss/blob/main/readme.md
2823
skip
@@ -38,8 +33,8 @@
3833
weak
3934
[file ".github/dependabot.yml"]
4035
url = https://github.com/devlooped/oss/blob/main/.github/dependabot.yml
41-
sha = 35ca3f3405452465058d89005f8a88a65847c377
42-
etag = f8080f8f04d87529e90d9a66751d304a7141196fb9734aa2d110784e52e66898
36+
sha = 49661dbf0720cde93eb5569be7523b5912351560
37+
etag = c147ea2f3431ca0338c315c4a45b56ee233c4d30f8d6ab698d0e1980a257fd6a
4338
weak
4439
[file ".github/release.yml"]
4540
url = https://github.com/devlooped/oss/blob/main/.github/release.yml
@@ -51,13 +46,13 @@
5146
skip
5247
[file ".github/workflows/changelog.config"]
5348
url = https://github.com/devlooped/oss/blob/main/.github/workflows/changelog.config
54-
sha = 055a8b7c94b74ae139cce919d60b83976d2a9942
55-
etag = ddb17acb5872e9e69a76f9dec0ca590f25382caa2ccf750df058dcabb674db2b
49+
sha = 08d83cb510732f861416760d37702f9f55bd7f9e
50+
etag = 556a28914eeeae78ca924b1105726cdaa211af365671831887aec81f5f4301b4
5651
weak
5752
[file ".github/workflows/changelog.yml"]
5853
url = https://github.com/devlooped/oss/blob/main/.github/workflows/changelog.yml
59-
sha = a4b66eb5f4dfb9704502f19f59ba33cb4855188c
60-
etag = 54c0b571648b1055beb3ddac180b34e93a9869b9f0277de306901b2c1dbe0b2c
54+
sha = 5fb172362c767bef7c36478f1a6bdc264723f8f9
55+
etag = ad1efa56d6024ee1add2bcda81a7e4e38d0e9069473c6ff70374d5ce06af1f5a
6156
weak
6257
[file ".github/workflows/combine-prs.yml"]
6358
url = https://github.com/devlooped/oss/blob/main/.github/workflows/combine-prs.yml
@@ -67,20 +62,15 @@
6762
[file ".github/workflows/publish.yml"]
6863
url = https://github.com/devlooped/oss/blob/main/.github/workflows/publish.yml
6964
skip
70-
[file ".github/workflows/test/action.yml"]
71-
url = https://github.com/devlooped/oss/blob/main/.github/workflows/test/action.yml
72-
sha = 9a1b07589b9bde93bc12528e9325712a32dec418
73-
etag = b54216ac431a83ce5477828d391f02046527e7f6fffd21da1d03324d352c3efb
74-
weak
7565
[file ".gitignore"]
7666
url = https://github.com/devlooped/oss/blob/main/.gitignore
77-
sha = 4bd702593c10df189cd4a0f6e6fb72e55de02198
78-
etag = f11dcc8c057bd2f526aa9c7090c9568d1656fafaaedc6719da42a00283018ffa
67+
sha = 02811fa23b0a102b9b33048335d41e515bf75737
68+
etag = a9c37ae312afac14b78436a7d018af4483d88736b5f780576f2c5a0b3f14998c
7969
weak
8070
[file "Directory.Build.rsp"]
8171
url = https://github.com/devlooped/oss/blob/main/Directory.Build.rsp
82-
sha = ae25fae9d7daf0cb47d537ba870914aa3052f0c9
83-
etag = 6a6c6e1d3895df953abf14c82b0899e3eea75cdcd679f6212dcfea15183d73d6
72+
sha = 0f7f7f7e8a29de9b535676f75fe7c67e629a5e8c
73+
etag = 0ccae83fc51f400bfd7058170bfec7aba11455e24a46a0d7e6a358da6486e255
8474
weak
8575
[file "_config.yml"]
8676
url = https://github.com/devlooped/oss/blob/main/_config.yml
@@ -97,17 +87,22 @@
9787
skip
9888
[file "src/Directory.Build.props"]
9989
url = https://github.com/devlooped/oss/blob/main/src/Directory.Build.props
100-
sha = 1bf1eacc7ac3920d52c8e7045bfa34abc7c05302
101-
etag = e9fd8ef4740d5559fa495580b04ec3437b99edbfb8452813907337f9374c1282
90+
sha = b76de49afb376aa48eb172963ed70663b59b31d3
91+
etag = c8b56f3860cc7ccb8773b7bd6189f5c7a6e3a2c27e9104c1ee201fbdc5af9873
10292
weak
10393
[file "src/Directory.Build.targets"]
10494
url = https://github.com/devlooped/oss/blob/main/src/Directory.Build.targets
105-
sha = 1bf1eacc7ac3920d52c8e7045bfa34abc7c05302
106-
etag = 7cb1421f00d9f6f4c00f0ca98e485dcadb927cfa6b3f0b5d4fb212525d2ce9c0
95+
sha = 33a20db26e47589769284817b271ce67ea9ccfd8
96+
etag = 1a3a0151b5771ee97ed8351254ff4c18a0ff568e0df5c33c6830f069bfbb067b
10797
weak
10898
[file "src/kzu.snk"]
10999
url = https://github.com/devlooped/oss/blob/main/src/kzu.snk
110100
skip
111101
[file "src/nuget.config"]
112102
url = https://github.com/devlooped/oss/blob/main/src/nuget.config
113103
skip
104+
[file ".github/workflows/stale.yml"]
105+
url = https://github.com/devlooped/oss/blob/main/.github/workflows/stale.yml
106+
sha = 695ccee03855bd584a1d7e2f6a59d05e0f919ce1
107+
etag = fac9da58349366f7031314cd05c8b554a262945c6e4d6bd3897906854b68153e
108+
weak

Directory.Build.rsp

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
-nr:false
33
-m:1
44
-v:m
5-
-clp:Summary;ForceNoAlign
5+
-clp:Summary;ForceNoAlign

0 commit comments

Comments
 (0)