Skip to content

Commit 0ddfb2d

Browse files
committed
⬆️ Bump files with dotnet-file sync
# devlooped/oss - Use custom stale action to exempt authors devlooped/oss@03b7d53 - We don't push just from ubuntu anymore devlooped/oss@7ec9101 - Skip discussion issues when generating changelog devlooped/oss@08d83cb
1 parent 82a487f commit 0ddfb2d

File tree

5 files changed

+80
-6
lines changed

5 files changed

+80
-6
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ jobs:
7979
name: logs
8080
path: '*.binlog'
8181

82-
# Only push CI package to sleet feed if building on ubuntu (fastest)
8382
- name: 🚀 sleet
8483
env:
8584
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/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

.netconfig

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@
3939
skip
4040
[file ".github/workflows/build.yml"]
4141
url = https://github.com/devlooped/oss/blob/main/.github/workflows/build.yml
42-
sha = b5bb972199aa6ff220dda196588b23c21bb2780f
43-
etag = ce104e9b04fe6a54b90cdfd3d5c02f2e902f8ac878b1d059edc1b6bed70872be
42+
sha = 7ec91019eddb4fc7e0b09118538b256087f82e18
43+
etag = 35b2a5b03c26cbe7522e30b2b987e04991e8ba18accd38b7ebd88191f1698c2d
4444
weak
4545
[file ".github/workflows/changelog.yml"]
4646
url = https://github.com/devlooped/oss/blob/main/.github/workflows/changelog.yml
@@ -125,6 +125,11 @@
125125
weak
126126
[file ".github/workflows/changelog.config"]
127127
url = https://github.com/devlooped/oss/blob/main/.github/workflows/changelog.config
128-
sha = 055a8b7c94b74ae139cce919d60b83976d2a9942
129-
etag = ddb17acb5872e9e69a76f9dec0ca590f25382caa2ccf750df058dcabb674db2b
128+
sha = 08d83cb510732f861416760d37702f9f55bd7f9e
129+
etag = 556a28914eeeae78ca924b1105726cdaa211af365671831887aec81f5f4301b4
130+
weak
131+
[file ".github/workflows/stale.yml"]
132+
url = https://github.com/devlooped/oss/blob/main/.github/workflows/stale.yml
133+
sha = 03b7d535f782ceaf918eeea82ca374bc8c93288a
134+
etag = 1efabca4a7436d756e8d24e616a8ecda54f55b49eab623168149f042131e67d6
130135
weak

readme.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,7 @@ The versioning scheme for packages is:
388388
[![Vezel](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/vezel-dev.png "Vezel")](https://github.com/vezel-dev)
389389
[![ChilliCream](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/ChilliCream.png "ChilliCream")](https://github.com/ChilliCream)
390390
[![4OTC](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/4OTC.png "4OTC")](https://github.com/4OTC)
391+
[![Vincent Limo](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/v-limo.png "Vincent Limo")](https://github.com/v-limo)
391392

392393

393394
<!-- sponsors.md -->

0 commit comments

Comments
 (0)