Skip to content

Commit b39dcb0

Browse files
committed
⬆️ Bump files with dotnet-file sync
# devlooped/oss - Improve triage actions on issues devlooped/oss@33000c0 - Allow per-repo publish agent OS var, and non-nuget.org prereleases devlooped/oss@0345b45 - Set working directory for nuget push devlooped/oss@fcfc66a - If we provide a docs category, don't exclude docs :) devlooped/oss@0c23e24 # devlooped/.github - Add common sponsorlink warning markdown devlooped/.github@d4d500f
1 parent b8cf0ab commit b39dcb0

File tree

5 files changed

+63
-21
lines changed

5 files changed

+63
-21
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/publish.yml

Lines changed: 5 additions & 4 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
@@ -44,13 +44,14 @@ jobs:
4444
- name: 🚀 nuget
4545
env:
4646
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
47-
if: env.NUGET_API_KEY != ''
48-
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
4950

5051
- name: 🚀 sleet
5152
env:
5253
SLEET_CONNECTION: ${{ secrets.SLEET_CONNECTION }}
5354
if: env.SLEET_CONNECTION != ''
5455
run: |
5556
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"
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/stale.yml renamed to .github/workflows/triage.yml

Lines changed: 41 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,32 @@
1-
name: 'stale'
1+
name: 'triage'
22
on:
33
schedule:
44
- cron: '42 0 * * *'
55

66
workflow_dispatch:
77
# Manual triggering through the GitHub UI, API, or CLI
88
inputs:
9+
daysBeforeClose:
10+
description: "Days before closing stale or need info issues"
11+
required: true
12+
default: "30"
913
daysBeforeStale:
14+
description: "Days before labeling stale"
1015
required: true
1116
default: "180"
12-
daysBeforeClose:
17+
daysSinceClose:
18+
description: "Days since close to lock"
1319
required: true
1420
default: "30"
15-
operationsPerRun:
21+
daysSinceUpdate:
22+
description: "Days since update to lock"
1623
required: true
17-
default: "4000"
24+
default: "30"
1825

1926
permissions:
2027
actions: write # For managing the operation state cache
2128
issues: write
29+
contents: read
2230

2331
jobs:
2432
stale:
@@ -30,7 +38,7 @@ jobs:
3038
shell: pwsh
3139
if: github.event_name != 'workflow_dispatch'
3240
env:
33-
GH_TOKEN: ${{ github.token }}
41+
GH_TOKEN: ${{ secrets.DEVLOOPED_TOKEN }}
3442
run: |
3543
# add random sleep since we run on fixed schedule
3644
$wait = get-random -max 180
@@ -47,7 +55,7 @@ jobs:
4755
echo "Rate limit has reset to $($rate.remaining) requests"
4856
}
4957
50-
- name: ✏️ label
58+
- name: ✏️ stale labeler
5159
# pending merge: https://github.com/actions/stale/pull/1176
5260
uses: kzu/stale@c8450312ba97b204bf37545cb249742144d6ca69
5361
with:
@@ -62,8 +70,34 @@ jobs:
6270
days-before-stale: ${{ fromJson(inputs.daysBeforeStale || 180) }}
6371
days-before-close: ${{ fromJson(inputs.daysBeforeClose || 30 ) }}
6472
days-before-pr-close: -1 # Do not close PRs labeled as 'stale'
65-
operations-per-run: ${{ fromJson(inputs.operationsPerRun || 4000 )}}
6673
exempt-all-milestones: true
6774
exempt-all-assignees: true
6875
exempt-issue-labels: priority,sponsor,backed
6976
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: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@
5959
weak
6060
[file ".github/workflows/publish.yml"]
6161
url = https://github.com/devlooped/oss/blob/main/.github/workflows/publish.yml
62-
sha = b5bb972199aa6ff220dda196588b23c21bb2780f
63-
etag = 5a85d51e8c6cc6fbda43e12b3712a1e908a8e99b0908c4033ac9f4c66e5f233e
62+
sha = fcfc66a8735f5338f97c7292db5f4ee83a712254
63+
etag = e3269a4ec0a33deccb7e35b51178aa34831146a709af435fd10e659cd4dd967b
6464
weak
6565
[file ".gitignore"]
6666
url = https://github.com/devlooped/oss/blob/main/.gitignore
@@ -107,8 +107,8 @@
107107
weak
108108
[file ".github/release.yml"]
109109
url = https://github.com/devlooped/oss/blob/main/.github/release.yml
110-
sha = 1afd173fe8f81b510c597737b0d271218e81fa73
111-
etag = 482dc2c892fc7ce0cb3a01eb5d9401bee50ddfb067d8cb85873555ce63cf5438
110+
sha = 0c23e24704625cf75b2cb1fdc566cef7e20af313
111+
etag = 310df162242c95ed19ed12e3c96a65f77e558b46dced676ad5255eb12caafe75
112112
weak
113113
[file ".github/workflows/changelog.config"]
114114
url = https://github.com/devlooped/oss/blob/main/.github/workflows/changelog.config
@@ -125,11 +125,6 @@
125125
sha = d152e7437fd0d6f6d9363d23cb3b78c07335ea49
126126
etag = ec40db34f379d0c6d83b2ec15624f330318a172cc4f85b5417c63e86eaf601df
127127
weak
128-
[file ".github/workflows/stale.yml"]
129-
url = https://github.com/devlooped/oss/blob/main/.github/workflows/stale.yml
130-
sha = 03b7d535f782ceaf918eeea82ca374bc8c93288a
131-
etag = 1efabca4a7436d756e8d24e616a8ecda54f55b49eab623168149f042131e67d6
132-
weak
133128
[file ".github/code_of_conduct.md"]
134129
url = https://github.com/devlooped/.github/blob/main/.github/code_of_conduct.md
135130
sha = 4d38bd1a1662e69a131dfe2e860a0a832ea89db4
@@ -165,3 +160,13 @@
165160
sha = 80e81d21c020841dfc8678f218d42ddaffad78db
166161
etag = 6ab86c474f24c915681abf4dca6c5becf3a211ab09d11e290385890dadd6f97f
167162
weak
163+
[file ".github/workflows/triage.yml"]
164+
url = https://github.com/devlooped/oss/blob/main/.github/workflows/triage.yml
165+
sha = 33000c0c4ab4eb4e0e142fa54515b811a189d55c
166+
etag = 013a47739e348f06891f37c45164478cca149854e6cd5c5158e6f073f852b61a
167+
weak
168+
[file "sponsorlink.md"]
169+
url = https://github.com/devlooped/.github/blob/main/sponsorlink.md
170+
sha = d4d500f229a7280920645ecfa25b11929c02bc04
171+
etag = 22663daef194a796937174446a3390ebdc169a3eba9d46d5e864b7ce46a23771
172+
weak

sponsorlink.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*This project uses [SponsorLink](https://github.com/devlooped#sponsorlink)
2+
and may issue IDE-only warnings if no active sponsorship is detected.*

0 commit comments

Comments
 (0)