Skip to content

Commit 7ddba36

Browse files
committed
⬆️ Bump files with dotnet-file sync
# devlooped/oss - Use custom stale action to exempt authors devlooped/oss@03b7d53 - Cleanup build and publish to use VersionLabel devlooped/oss@14deaea - Improve default value for GenerateDocumentationFile devlooped/oss@b76de49 - Fix typo in targets devlooped/oss@33a20db - Automatically use the new terminal logger if possible devlooped/oss@27a5c9a - Allow choosing build configuration on dispatch devlooped/oss@fef4635 - Remove shared community files from ignores devlooped/oss@65f89e0 - Update includes.yml to include top-level .md devlooped/oss@d152e74 - Simplify testing by switching to dotnet-retest devlooped/oss@b5bb972 - We don't push just from ubuntu anymore devlooped/oss@7ec9101 - Update publish.yml to include prereleased publish devlooped/oss@d793e7a - Don't attempt to push to nuget.org without a key devlooped/oss@d11c4dc - Push also to sleet if configured devlooped/oss@40ee833 - Skip discussion issues when generating changelog devlooped/oss@08d83cb - 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 - Set Version from VersionLabel if it's a refs/tags/ devlooped/oss@57653a2 # clarius/pages - Bump github-pages to fix build error clarius/pages@90fa16e # devlooped/sponsors - Refresh sponsors devlooped/sponsors@8a91355 - Refresh sponsors devlooped/sponsors@5b56774 - Refresh sponsors devlooped/sponsors@c6b7ac2 - Refresh sponsors devlooped/sponsors@5112917
1 parent 4d79857 commit 7ddba36

File tree

14 files changed

+147
-118
lines changed

14 files changed

+147
-118
lines changed

.github/workflows/build.yml

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,31 @@
44
name: build
55
on:
66
workflow_dispatch:
7+
inputs:
8+
configuration:
9+
type: choice
10+
description: Configuration
11+
options:
12+
- Release
13+
- Debug
714
push:
815
branches: [ main, dev, 'dev/*', 'feature/*', 'rel/*' ]
916
paths-ignore:
1017
- changelog.md
11-
- code-of-conduct.md
12-
- security.md
13-
- support.md
1418
- readme.md
1519
pull_request:
1620
types: [opened, synchronize, reopened]
1721

1822
env:
1923
DOTNET_NOLOGO: true
20-
VersionPrefix: 42.42.${{ github.run_number }}
21-
VersionLabel: ${{ github.ref }}
2224
PackOnBuild: true
2325
GeneratePackageOnBuild: true
26+
VersionPrefix: 42.42.${{ github.run_number }}
27+
VersionLabel: ${{ github.ref }}
2428
GH_TOKEN: ${{ secrets.GH_TOKEN }}
25-
29+
MSBUILDTERMINALLOGGER: auto
30+
Configuration: ${{ github.event.inputs.configuration || 'Release' }}
31+
2632
defaults:
2733
run:
2834
shell: bash
@@ -61,14 +67,10 @@ jobs:
6167
- name: 🙏 build
6268
run: dotnet build -m:1 -bl:build.binlog
6369

64-
- name: ⚙ GNU grep
65-
if: matrix.os == 'macOS-latest'
66-
run: |
67-
brew install grep
68-
echo 'export PATH="/usr/local/opt/grep/libexec/gnubin:$PATH"' >> .bash_profile
69-
7070
- name: 🧪 test
71-
uses: ./.github/workflows/test
71+
run: |
72+
dotnet tool update -g dotnet-retest
73+
dotnet retest -- --no-build
7274
7375
- name: 🐛 logs
7476
uses: actions/upload-artifact@v3
@@ -77,7 +79,6 @@ jobs:
7779
name: logs
7880
path: '*.binlog'
7981

80-
# Only push CI package to sleet feed if building on ubuntu (fastest)
8182
- name: 🚀 sleet
8283
env:
8384
SLEET_CONNECTION: ${{ secrets.SLEET_CONNECTION }}

.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/includes.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: ✍ pull request
3232
uses: peter-evans/create-pull-request@v6
3333
with:
34-
add-paths: '**/*.md'
34+
add-paths: '**.md'
3535
base: main
3636
branch: markdown-includes
3737
delete-branch: true

.github/workflows/publish.yml

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,17 @@
55
name: publish
66
on:
77
release:
8-
types: [released]
8+
types: [prereleased, released]
99

1010
env:
1111
DOTNET_NOLOGO: true
1212
Configuration: Release
1313
PackOnBuild: true
1414
GeneratePackageOnBuild: true
15+
VersionLabel: ${{ github.ref }}
1516
GH_TOKEN: ${{ secrets.GH_TOKEN }}
16-
17+
MSBUILDTERMINALLOGGER: auto
18+
1719
jobs:
1820
publish:
1921
runs-on: ubuntu-latest
@@ -25,10 +27,12 @@ jobs:
2527
fetch-depth: 0
2628

2729
- name: 🙏 build
28-
run: dotnet build -m:1 -p:version=${GITHUB_REF#refs/*/v} -bl:build.binlog
30+
run: dotnet build -m:1 -bl:build.binlog
2931

3032
- name: 🧪 test
31-
uses: ./.github/workflows/test
33+
run: |
34+
dotnet tool update -g dotnet-retest
35+
dotnet retest -- --no-build
3236
3337
- name: 🐛 logs
3438
uses: actions/upload-artifact@v3
@@ -38,4 +42,15 @@ jobs:
3842
path: '*.binlog'
3943

4044
- name: 🚀 nuget
45+
env:
46+
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
47+
if: env.NUGET_API_KEY != ''
4148
run: dotnet nuget push ./bin/**/*.nupkg -s https://api.nuget.org/v3/index.json -k ${{secrets.NUGET_API_KEY}} --skip-duplicate
49+
50+
- name: 🚀 sleet
51+
env:
52+
SLEET_CONNECTION: ${{ secrets.SLEET_CONNECTION }}
53+
if: env.SLEET_CONNECTION != ''
54+
run: |
55+
dotnet tool install -g --version 4.0.18 sleet
56+
sleet push bin --config none -f --verbose -p "SLEET_FEED_CONTAINER=nuget" -p "SLEET_FEED_CONNECTIONSTRING=${{ secrets.SLEET_CONNECTION }}" -p "SLEET_FEED_TYPE=azure" || echo "No packages found"

.github/workflows/sponsor.yml

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

.github/workflows/stale.yml

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
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+
env:
33+
GH_TOKEN: ${{ github.token }}
34+
run: |
35+
# add random sleep since we run on fixed schedule
36+
$wait = get-random -max 180
37+
echo "Waiting random $wait seconds to start"
38+
sleep $wait
39+
# get currently authenticated user rate limit info
40+
$rate = gh api rate_limit | convertfrom-json | select -expandproperty rate
41+
# if we don't have at least 100 requests left, wait until reset
42+
if ($rate.remaining -lt 100) {
43+
$wait = ($rate.reset - (Get-Date (Get-Date).ToUniversalTime() -UFormat %s))
44+
echo "Rate limit remaining is $($rate.remaining), waiting for $($wait / 1000) seconds to reset"
45+
sleep $wait
46+
$rate = gh api rate_limit | convertfrom-json | select -expandproperty rate
47+
echo "Rate limit has reset to $($rate.remaining) requests"
48+
}
49+
50+
- name: ✏️ label
51+
# pending merge: https://github.com/actions/stale/pull/1176
52+
uses: kzu/stale@c8450312ba97b204bf37545cb249742144d6ca69
53+
with:
54+
ascending: true # Process the oldest issues first
55+
stale-issue-label: 'stale'
56+
stale-issue-message: |
57+
Due to lack of recent activity, this issue has been labeled as 'stale'.
58+
It will be closed if no further activity occurs within ${{ fromJson(inputs.daysBeforeClose || 30 ) }} more days.
59+
Any new comment will remove the label.
60+
close-issue-message: |
61+
This issue will now be closed since it has been labeled 'stale' without activity for ${{ fromJson(inputs.daysBeforeClose || 30 ) }} days.
62+
days-before-stale: ${{ fromJson(inputs.daysBeforeStale || 180) }}
63+
days-before-close: ${{ fromJson(inputs.daysBeforeClose || 30 ) }}
64+
days-before-pr-close: -1 # Do not close PRs labeled as 'stale'
65+
operations-per-run: ${{ fromJson(inputs.operationsPerRun || 4000 )}}
66+
exempt-all-milestones: true
67+
exempt-all-assignees: true
68+
exempt-issue-labels: priority,sponsor,backed
69+
exempt-authors: kzu

.github/workflows/test/action.yml

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

.netconfig

Lines changed: 23 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -47,19 +47,19 @@
4747
sha = 49661dbf0720cde93eb5569be7523b5912351560
4848
[file ".github/workflows/build.yml"]
4949
url = https://github.com/devlooped/oss/blob/main/.github/workflows/build.yml
50-
etag = 6efc7d096b25bb4bbeffe7960a1194f1ceb5d21abeda85d28b55594b648ab44a
50+
etag = 35b2a5b03c26cbe7522e30b2b987e04991e8ba18accd38b7ebd88191f1698c2d
5151
weak
52-
sha = 5fb172362c767bef7c36478f1a6bdc264723f8f9
52+
sha = 7ec91019eddb4fc7e0b09118538b256087f82e18
5353
[file ".gitignore"]
5454
url = https://github.com/devlooped/oss/blob/main/.gitignore
5555
etag = a9c37ae312afac14b78436a7d018af4483d88736b5f780576f2c5a0b3f14998c
5656
weak
5757
sha = 02811fa23b0a102b9b33048335d41e515bf75737
5858
[file "Directory.Build.rsp"]
5959
url = https://github.com/devlooped/oss/blob/main/Directory.Build.rsp
60-
etag = 6a6c6e1d3895df953abf14c82b0899e3eea75cdcd679f6212dcfea15183d73d6
60+
etag = 0ccae83fc51f400bfd7058170bfec7aba11455e24a46a0d7e6a358da6486e255
6161
weak
62-
sha = ae25fae9d7daf0cb47d537ba870914aa3052f0c9
62+
sha = 0f7f7f7e8a29de9b535676f75fe7c67e629a5e8c
6363
[file "_config.yml"]
6464
url = https://github.com/devlooped/oss/blob/main/_config.yml
6565
etag = 9139148f845adf503fd3c3c140eb64421fc476a1f9c027fc50825c0efb05f557
@@ -77,14 +77,14 @@
7777
sha = 0683ee777d7d878d4bf013d7deea352685135a05
7878
[file "src/Directory.Build.props"]
7979
url = https://github.com/devlooped/oss/blob/main/src/Directory.Build.props
80-
etag = a4925eb815bbcecc022de8d3245db069573d96ac5ecdf5f0e604f06b5577b01e
80+
etag = c8b56f3860cc7ccb8773b7bd6189f5c7a6e3a2c27e9104c1ee201fbdc5af9873
8181
weak
82-
sha = 6e96c592c7b44bfda10404b9f90e4b8fab299249
82+
sha = b76de49afb376aa48eb172963ed70663b59b31d3
8383
[file "src/Directory.Build.targets"]
8484
url = https://github.com/devlooped/oss/blob/main/src/Directory.Build.targets
85-
etag = 7cb1421f00d9f6f4c00f0ca98e485dcadb927cfa6b3f0b5d4fb212525d2ce9c0
85+
etag = 1a3a0151b5771ee97ed8351254ff4c18a0ff568e0df5c33c6830f069bfbb067b
8686
weak
87-
sha = c618ea86d94402a12c7d7d10fe2b5cb8a21c3eea
87+
sha = 33a20db26e47589769284817b271ce67ea9ccfd8
8888
[file "src/kzu.snk"]
8989
url = https://github.com/devlooped/oss/blob/main/src/kzu.snk
9090
skip
@@ -100,34 +100,24 @@
100100
weak
101101
[file ".github/workflows/publish.yml"]
102102
url = https://github.com/devlooped/oss/blob/main/.github/workflows/publish.yml
103-
sha = 5fb172362c767bef7c36478f1a6bdc264723f8f9
104-
etag = 9ea4083894308a610742488923d2a44778ebba6ca73fb13424647d9a82c918b4
103+
sha = b5bb972199aa6ff220dda196588b23c21bb2780f
104+
etag = 5a85d51e8c6cc6fbda43e12b3712a1e908a8e99b0908c4033ac9f4c66e5f233e
105105
weak
106106
[file ".github/workflows/release-artifacts.yml"]
107107
url = https://github.com/devlooped/oss/blob/main/.github/workflows/release-artifacts.yml
108108
skip
109-
[file ".github/workflows/test/action.yml"]
110-
url = https://github.com/devlooped/oss/blob/main/.github/workflows/test/action.yml
111-
sha = 9a1b07589b9bde93bc12528e9325712a32dec418
112-
etag = b54216ac431a83ce5477828d391f02046527e7f6fffd21da1d03324d352c3efb
113-
weak
114109
[file "src/nuget.config"]
115110
skip
116111
[file ".github/workflows/includes.yml"]
117112
url = https://github.com/devlooped/oss/blob/main/.github/workflows/includes.yml
118-
sha = 5fb172362c767bef7c36478f1a6bdc264723f8f9
119-
etag = e5ee22e115c925fb85ec931cda3ac811fcc453c03904554fa3f573935b221d34
113+
sha = d152e7437fd0d6f6d9363d23cb3b78c07335ea49
114+
etag = ec40db34f379d0c6d83b2ec15624f330318a172cc4f85b5417c63e86eaf601df
120115
weak
121116
[file "docs/sponsors.md"]
122117
url = https://github.com/devlooped/sponsors/blob/main/sponsors.md
123-
sha = cec7e853923c72e2a7e61a4a850fa2f3975a4b5f
124-
etag = b892f39a225ae1568f895817850dbdde99395687ef808ec4cb6bda4c97d7037c
118+
sha = 511291722ef1fd0c5817d6a8597ef10edf2ac9b5
119+
etag = 14413cc5110acc86e00c78cc537c7207bd53e0ceff17b54effa73f33b6264e9e
125120
weak
126-
[file ".github/workflows/sponsor.yml"]
127-
url = https://github.com/devlooped/oss/blob/main/.github/workflows/sponsor.yml
128-
weak
129-
sha = 5fb172362c767bef7c36478f1a6bdc264723f8f9
130-
etag = 0849ee61af6daee29615f9632173b4e82da5bfa9d78ff28907e9408bd5acde4d
131121
[file ".github/workflows/combine-prs.yml"]
132122
url = https://github.com/devlooped/oss/blob/main/.github/workflows/combine-prs.yml
133123
sha = c1610886eba42cb250e3894aed40c0a258cd383d
@@ -140,8 +130,8 @@
140130
weak
141131
[file ".github/workflows/changelog.config"]
142132
url = https://github.com/devlooped/oss/blob/main/.github/workflows/changelog.config
143-
sha = 055a8b7c94b74ae139cce919d60b83976d2a9942
144-
etag = ddb17acb5872e9e69a76f9dec0ca590f25382caa2ccf750df058dcabb674db2b
133+
sha = 08d83cb510732f861416760d37702f9f55bd7f9e
134+
etag = 556a28914eeeae78ca924b1105726cdaa211af365671831887aec81f5f4301b4
145135
weak
146136
[file ".github/workflows/pages.yml"]
147137
url = https://github.com/clarius/pages/blob/main/.github/workflows/pages.yml
@@ -150,6 +140,11 @@
150140
weak
151141
[file "Gemfile"]
152142
url = https://github.com/clarius/pages/blob/main/Gemfile
153-
sha = 565a77f40db0863cb47ceb36f88790259a697c91
154-
etag = 24e482e91192e292b633e3c17c4f095286ffb5a041d299d761b2e6ef99ee7669
143+
sha = 90fa16ed0e7300a78a38ee1d23c34a7e875aab27
144+
etag = 3dd7febc8ae6760f19abfe787711f469c288cd803a6f1c545edec34264d48e71
145+
weak
146+
[file ".github/workflows/stale.yml"]
147+
url = https://github.com/devlooped/oss/blob/main/.github/workflows/stale.yml
148+
sha = 03b7d535f782ceaf918eeea82ca374bc8c93288a
149+
etag = 1efabca4a7436d756e8d24e616a8ecda54f55b49eab623168149f042131e67d6
155150
weak

Directory.Build.rsp

Lines changed: 1 addition & 1 deletion
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

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
source 'https://rubygems.org'
22

3-
gem 'github-pages', '~> 209', group: :jekyll_plugins
3+
gem 'github-pages', '~> 231', group: :jekyll_plugins

0 commit comments

Comments
 (0)