Skip to content

Commit ad98694

Browse files
committed
⬆️ Bump files with dotnet-file sync
# devlooped/oss - Improve triage actions on issues devlooped/oss@33000c0 - Simplify testing by switching to dotnet-retest devlooped/oss@b5bb972 - We don't push just from ubuntu anymore devlooped/oss@7ec9101 - Allow per-repo publish agent OS var, and non-nuget.org prereleases devlooped/oss@0345b45 - Set working directory for nuget push devlooped/oss@fcfc66a # devlooped/sponsors
1 parent dac8318 commit ad98694

File tree

9 files changed

+135
-68
lines changed

9 files changed

+135
-68
lines changed

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

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -67,14 +67,10 @@ jobs:
6767
- name: 🙏 build
6868
run: dotnet build -m:1 -bl:build.binlog
6969

70-
- name: ⚙ GNU grep
71-
if: matrix.os == 'macOS-latest'
72-
run: |
73-
brew install grep
74-
echo 'export PATH="/usr/local/opt/grep/libexec/gnubin:$PATH"' >> .bash_profile
75-
7670
- name: 🧪 test
77-
uses: ./.github/workflows/test
71+
run: |
72+
dotnet tool update -g dotnet-retest
73+
dotnet retest -- --no-build
7874
7975
- name: 🐛 logs
8076
uses: actions/upload-artifact@v3
@@ -83,7 +79,6 @@ jobs:
8379
name: logs
8480
path: '*.binlog'
8581

86-
# Only push CI package to sleet feed if building on ubuntu (fastest)
8782
- name: 🚀 sleet
8883
env:
8984
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/publish.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ env:
1818

1919
jobs:
2020
publish:
21-
runs-on: ubuntu-latest
21+
runs-on: ${{ vars.PUBLISH_AGENT || 'ubuntu-latest' }}
2222
steps:
2323
- name: 🤘 checkout
2424
uses: actions/checkout@v4
@@ -30,7 +30,9 @@ jobs:
3030
run: dotnet build -m:1 -bl:build.binlog
3131

3232
- name: 🧪 test
33-
uses: ./.github/workflows/test
33+
run: |
34+
dotnet tool update -g dotnet-retest
35+
dotnet retest -- --no-build
3436
3537
- name: 🐛 logs
3638
uses: actions/upload-artifact@v3
@@ -42,13 +44,14 @@ jobs:
4244
- name: 🚀 nuget
4345
env:
4446
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
45-
if: env.NUGET_API_KEY != ''
46-
run: dotnet nuget push ./bin/**/*.nupkg -s https://api.nuget.org/v3/index.json -k ${{secrets.NUGET_API_KEY}} --skip-duplicate
47+
if: ${{ env.NUGET_API_KEY != '' && github.event.action != 'prereleased' }}
48+
working-directory: bin
49+
run: dotnet nuget push *.nupkg -s https://api.nuget.org/v3/index.json -k ${{secrets.NUGET_API_KEY}} --skip-duplicate
4750

4851
- name: 🚀 sleet
4952
env:
5053
SLEET_CONNECTION: ${{ secrets.SLEET_CONNECTION }}
5154
if: env.SLEET_CONNECTION != ''
5255
run: |
5356
dotnet tool install -g --version 4.0.18 sleet
54-
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"
57+
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/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: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -38,19 +38,19 @@
3838
sha = 49661dbf0720cde93eb5569be7523b5912351560
3939
[file ".github/workflows/build.yml"]
4040
url = https://github.com/devlooped/oss/blob/main/.github/workflows/build.yml
41-
etag = 20ef46203325f5b3d06a991f8b38c24bcea49fd74d39062a62003448e2dd8b0a
41+
etag = 35b2a5b03c26cbe7522e30b2b987e04991e8ba18accd38b7ebd88191f1698c2d
4242
weak
43-
sha = 65f89e06ed7b2ac33ed3b729adc865b7076840d8
43+
sha = 7ec91019eddb4fc7e0b09118538b256087f82e18
4444
[file ".github/workflows/changelog.yml"]
4545
url = https://github.com/devlooped/oss/blob/main/.github/workflows/changelog.yml
4646
etag = ad1efa56d6024ee1add2bcda81a7e4e38d0e9069473c6ff70374d5ce06af1f5a
4747
weak
4848
sha = 5fb172362c767bef7c36478f1a6bdc264723f8f9
4949
[file ".github/workflows/publish.yml"]
5050
url = https://github.com/devlooped/oss/blob/main/.github/workflows/publish.yml
51-
etag = 105db682c332b2bb0873e60a7d2da45b00fe7d83da0f0e7dbf9a84bc5be77c25
51+
etag = e3269a4ec0a33deccb7e35b51178aa34831146a709af435fd10e659cd4dd967b
5252
weak
53-
sha = 40ee833a83d843c242914599e2635ca9a05aa837
53+
sha = fcfc66a8735f5338f97c7292db5f4ee83a712254
5454
[file ".github/workflows/release-artifacts.yml"]
5555
url = https://github.com/devlooped/oss/blob/main/.github/workflows/release-artifacts.yml
5656
skip
@@ -109,20 +109,15 @@
109109
sha = 7afe350f7e80a230e922db026d4e1198ba15cae1
110110
etag = 65e9794df6caff779eb989c8f71ddf4d4109b24a75af79e4f8d0fe6ba7bd9702
111111
weak
112-
[file ".github/workflows/test/action.yml"]
113-
url = https://github.com/devlooped/oss/blob/main/.github/workflows/test/action.yml
114-
sha = 9a1b07589b9bde93bc12528e9325712a32dec418
115-
etag = b54216ac431a83ce5477828d391f02046527e7f6fffd21da1d03324d352c3efb
116-
weak
117112
[file ".github/workflows/includes.yml"]
118113
url = https://github.com/devlooped/oss/blob/main/.github/workflows/includes.yml
119114
sha = d152e7437fd0d6f6d9363d23cb3b78c07335ea49
120115
etag = ec40db34f379d0c6d83b2ec15624f330318a172cc4f85b5417c63e86eaf601df
121116
weak
122117
[file "docs/sponsors.md"]
123118
url = https://github.com/devlooped/sponsors/blob/main/sponsors.md
124-
sha = 5b5677437244c1a438cfd112346ff81d26022648
125-
etag = 261048ffc90606558721dfb7dc6a56f02920af0320fb4f560aa3b679103d7667
119+
sha = 70a5280cf82f49f489ba26f22b14baa2542252fd
120+
etag = 71724f12cc714fc6727455a88e6e0567f06b54a142b78d6a42aa598ef851368f
126121
weak
127122
[file ".github/workflows/combine-prs.yml"]
128123
url = https://github.com/devlooped/oss/blob/main/.github/workflows/combine-prs.yml
@@ -131,11 +126,16 @@
131126
weak
132127
[file ".github/workflows/changelog.config"]
133128
url = https://github.com/devlooped/oss/blob/main/.github/workflows/changelog.config
134-
sha = 055a8b7c94b74ae139cce919d60b83976d2a9942
135-
etag = ddb17acb5872e9e69a76f9dec0ca590f25382caa2ccf750df058dcabb674db2b
129+
sha = 08d83cb510732f861416760d37702f9f55bd7f9e
130+
etag = 556a28914eeeae78ca924b1105726cdaa211af365671831887aec81f5f4301b4
136131
weak
137132
[file ".github/release.yml"]
138133
url = https://github.com/devlooped/oss/blob/main/.github/release.yml
139-
sha = 1afd173fe8f81b510c597737b0d271218e81fa73
140-
etag = 482dc2c892fc7ce0cb3a01eb5d9401bee50ddfb067d8cb85873555ce63cf5438
134+
sha = 0c23e24704625cf75b2cb1fdc566cef7e20af313
135+
etag = 310df162242c95ed19ed12e3c96a65f77e558b46dced676ad5255eb12caafe75
136+
weak
137+
[file ".github/workflows/triage.yml"]
138+
url = https://github.com/devlooped/oss/blob/main/.github/workflows/triage.yml
139+
sha = 33000c0c4ab4eb4e0e142fa54515b811a189d55c
140+
etag = 013a47739e348f06891f37c45164478cca149854e6cd5c5158e6f073f852b61a
141141
weak

docs/sponsors.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
[![Ix Technologies B.V.](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/IxTechnologies.png "Ix Technologies B.V.")](https://github.com/IxTechnologies)
2020
[![David JENNI](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/davidjenni.png "David JENNI")](https://github.com/davidjenni)
2121
[![Jonathan ](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/Jonathan-Hickey.png "Jonathan ")](https://github.com/Jonathan-Hickey)
22-
[![Oleg Kyrylchuk](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/okyrylchuk.png "Oleg Kyrylchuk")](https://github.com/okyrylchuk)
2322
[![Charley Wu](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/akunzai.png "Charley Wu")](https://github.com/akunzai)
2423
[![Jakob Tikjøb Andersen](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/jakobt.png "Jakob Tikjøb Andersen")](https://github.com/jakobt)
2524
[![Seann Alexander](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/seanalexander.png "Seann Alexander")](https://github.com/seanalexander)
@@ -33,4 +32,6 @@
3332
[![Vezel](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/vezel-dev.png "Vezel")](https://github.com/vezel-dev)
3433
[![ChilliCream](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/ChilliCream.png "ChilliCream")](https://github.com/ChilliCream)
3534
[![4OTC](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/4OTC.png "4OTC")](https://github.com/4OTC)
35+
[![Vincent Limo](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/v-limo.png "Vincent Limo")](https://github.com/v-limo)
36+
[![Brooke Hamilton](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/brooke-hamilton.png "Brooke Hamilton")](https://github.com/brooke-hamilton)
3637

readme.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,6 @@ degrading functionality.
174174
[![Ix Technologies B.V.](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/IxTechnologies.png "Ix Technologies B.V.")](https://github.com/IxTechnologies)
175175
[![David JENNI](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/davidjenni.png "David JENNI")](https://github.com/davidjenni)
176176
[![Jonathan ](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/Jonathan-Hickey.png "Jonathan ")](https://github.com/Jonathan-Hickey)
177-
[![Oleg Kyrylchuk](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/okyrylchuk.png "Oleg Kyrylchuk")](https://github.com/okyrylchuk)
178177
[![Charley Wu](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/akunzai.png "Charley Wu")](https://github.com/akunzai)
179178
[![Jakob Tikjøb Andersen](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/jakobt.png "Jakob Tikjøb Andersen")](https://github.com/jakobt)
180179
[![Seann Alexander](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/seanalexander.png "Seann Alexander")](https://github.com/seanalexander)
@@ -188,6 +187,8 @@ degrading functionality.
188187
[![Vezel](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/vezel-dev.png "Vezel")](https://github.com/vezel-dev)
189188
[![ChilliCream](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/ChilliCream.png "ChilliCream")](https://github.com/ChilliCream)
190189
[![4OTC](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/4OTC.png "4OTC")](https://github.com/4OTC)
190+
[![Vincent Limo](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/v-limo.png "Vincent Limo")](https://github.com/v-limo)
191+
[![Brooke Hamilton](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/brooke-hamilton.png "Brooke Hamilton")](https://github.com/brooke-hamilton)
191192

192193

193194
<!-- sponsors.md -->

0 commit comments

Comments
 (0)