Skip to content

Commit 6e67cbc

Browse files
committed
⬆️ Bump files with dotnet-file sync
# devlooped/oss - Point to main for dotnet-file sync workflow devlooped/oss@59aaf43 - Attempt to get necessary permissions for default token devlooped/oss@85829f2 - Update .gitignore to ignore .genaiscript devlooped/oss@e0be248 - Switch back to latest stable includes devlooped/oss@875284b - Make sure all stable versions are available for build/test devlooped/oss@06e898c # devlooped/.github - Rename community files devlooped/.github@80e81d2 - Fix autosync link devlooped/.github@e8ece8f - Fix missing bracket in link devlooped/.github@4d38bd1
1 parent 5b588c3 commit 6e67cbc

12 files changed

+190
-18
lines changed

.github/code_of_conduct.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Code of Conduct
2+
3+
This project has adopted the code of conduct defined by the
4+
[Contributor Covenant](https://www.contributor-covenant.org/) to
5+
clarify expected behavior in our community.
6+
7+
For more information, see the [.NET Foundation Code of Conduct](https://dotnetfoundation.org/code-of-conduct).

.github/contributing.md

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Contributing
2+
3+
You can contribute to the project with issues and PRs.
4+
Simply filing issues for problems you encounter is a great way to contribute. Contributing implementations is greatly appreciated.
5+
6+
## Before you file a bug...
7+
* Is this a question, or are you looking for help? Ask it in the project's **Discussions** tab instead, if available.
8+
9+
* Did you search the issues list to see if someone already reported it? _When looking for duplicates, make sure to look through open **and** closed issues._
10+
* Did you create a simple repro for the problem? _We won't look at your bug until you provide a repro project or complete repro steps._
11+
12+
## Before you submit a PR...
13+
14+
* Did you ensure there is a corresponding issue labelled as 🟢 help wanted?
15+
If not, please open one to start the discussion.
16+
* Does the code follow existing coding styles? (spaces, comments, no regions, etc.)?
17+
We enforce the basic styles by running `dotnet format` on the repository root.
18+
You can do the same before submitting a PR to speed up the process.
19+
* Did you write unit tests?
20+
Typically required if there are other unit tests for existing or related code.
21+
22+
## Looking for something to work on?
23+
24+
Look at the repo issues labelled as 🟢 help wanted and 🟣 good first issue to find
25+
something to contribute!
26+
27+
# Contributor License Agreement
28+
29+
You must sign the [Contribution License Agreement (CLA)](https://cla-assistant.io/devlooped/) before your PR will be merged.
30+
This is a one-time requirement for projects in the Devlooped organization.
31+
You can read more about [Contribution License Agreements (CLA)](http://en.wikipedia.org/wiki/Contributor_License_Agreement) on Wikipedia.
32+
33+
You don't have to do this up-front. You can simply clone, fork, and submit your pull-request as usual.
34+
When your pull-request is created, it is classified by a CLA bot, which will let
35+
you know if signing is pending.

.github/security.md

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Security Policy
2+
3+
## Reporting a Vulnerability
4+
5+
Security issues and bugs should be reported privately by emailing security@devlooped.com.
6+
You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your
7+
original message and ping [@devlooped](https://twitter.com/devlooped) on Twitter.
8+
9+
Please do not open issues for anything you think might have a security implication.

.github/support.md

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Support
2+
3+
Support is typically available thorugh GitHub Discussions and Issues.
4+
5+
**Found a bug? File an issue.** If you found something that isn't working as expected and you can reproduce it, go to the repo Issues tab and file an issue.
6+
7+
**Want a new feature? Start a discussion.** It's always good to start a discussion (Discussion tab in the project, Ideas category) to explain the problem you're trying to solve before jumping in with the pull request. We may already have a solution in place or have an idea on ways to solve that issue. After the details are nailed down, we will migrate the discussion to a proper Issue (with the `enhancement`) label. At that point, we'd love to see your PRs :).
8+
9+
Consider [sponsoring](https://github.com/sponsors/devlooped) the project to get priority support and many other perks!

.github/workflows/build.yml

+9-1
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,14 @@ jobs:
6464
submodules: recursive
6565
fetch-depth: 0
6666

67+
- name: ⚙ dotnet
68+
uses: actions/setup-dotnet@v4
69+
with:
70+
dotnet-version: |
71+
6.x
72+
8.x
73+
9.x
74+
6775
- name: 🙏 build
6876
run: dotnet build -m:1 -bl:build.binlog
6977

@@ -73,7 +81,7 @@ jobs:
7381
dotnet retest -- --no-build
7482
7583
- name: 🐛 logs
76-
uses: actions/upload-artifact@v3
84+
uses: actions/upload-artifact@v4
7785
if: runner.debug && always()
7886
with:
7987
name: logs
+88
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
# Synchronizes .netconfig-configured files with dotnet-file
2+
name: dotnet-file-core
3+
on:
4+
workflow_call:
5+
6+
env:
7+
DOTNET_NOLOGO: true
8+
9+
defaults:
10+
run:
11+
shell: pwsh
12+
13+
jobs:
14+
sync:
15+
runs-on: ubuntu-latest
16+
continue-on-error: true
17+
steps:
18+
- name: 🤖 defaults
19+
uses: devlooped/actions-bot@v1
20+
with:
21+
name: ${{ secrets.BOT_NAME }}
22+
email: ${{ secrets.BOT_EMAIL }}
23+
gh_token: ${{ secrets.GH_TOKEN }}
24+
github_token: ${{ secrets.GITHUB_TOKEN }}
25+
26+
- name: 🤘 checkout
27+
uses: actions/checkout@v4
28+
with:
29+
fetch-depth: 0
30+
ref: main
31+
token: ${{ env.GH_TOKEN }}
32+
33+
- name: ⌛ rate
34+
if: github.event_name != 'workflow_dispatch'
35+
run: |
36+
# add random sleep since we run on fixed schedule
37+
sleep (get-random -max 60)
38+
# get currently authenticated user rate limit info
39+
$rate = gh api rate_limit | convertfrom-json | select -expandproperty rate
40+
# if we don't have at least 100 requests left, wait until reset
41+
if ($rate.remaining -lt 10) {
42+
$wait = ($rate.reset - (Get-Date (Get-Date).ToUniversalTime() -UFormat %s))
43+
echo "Rate limit remaining is $($rate.remaining), waiting for $($wait / 1000) seconds to reset"
44+
sleep $wait
45+
$rate = gh api rate_limit | convertfrom-json | select -expandproperty rate
46+
echo "Rate limit has reset to $($rate.remaining) requests"
47+
}
48+
49+
- name: 🔄 sync
50+
run: |
51+
dotnet tool update -g dotnet-gcm
52+
# store credentials in plaintext for linux compat
53+
git config --local credential.credentialStore plaintext
54+
dotnet gcm store --protocol=https --host=github.com --username=$env:GITHUB_ACTOR --password=$env:GH_TOKEN
55+
gh auth status
56+
57+
dotnet tool update -g dotnet-file
58+
$changelog = "$([System.IO.Path]::GetTempPath())dotnet-file.md"
59+
dotnet file sync -c:$changelog
60+
if (test-path $changelog) {
61+
echo 'CHANGES<<EOF' >> $env:GITHUB_ENV
62+
cat $changelog >> $env:GITHUB_ENV
63+
echo 'EOF' >> $env:GITHUB_ENV
64+
cat $changelog
65+
} else {
66+
echo 'No changelog was generated'
67+
}
68+
69+
- name: +Mᐁ includes
70+
uses: devlooped/actions-includes@v1
71+
with:
72+
validate: false
73+
74+
- name: ✍ pull request
75+
uses: peter-evans/create-pull-request@v7
76+
with:
77+
base: main
78+
branch: dotnet-file-sync
79+
delete-branch: true
80+
labels: dependencies
81+
author: ${{ env.BOT_AUTHOR }}
82+
committer: ${{ env.BOT_AUTHOR }}
83+
commit-message: ⬆️ Bump files with dotnet-file sync
84+
85+
${{ env.CHANGES }}
86+
title: "⬆️ Bump files with dotnet-file sync"
87+
body: ${{ env.CHANGES }}
88+
token: ${{ env.GH_TOKEN }}

.github/workflows/includes.yml

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ on:
1111
jobs:
1212
includes:
1313
runs-on: ubuntu-latest
14+
permissions:
15+
contents: write
16+
pull-requests: write
1417
steps:
1518
- name: 🤖 defaults
1619
uses: devlooped/actions-bot@v1

.github/workflows/publish.yml

+9-1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,14 @@ jobs:
2626
submodules: recursive
2727
fetch-depth: 0
2828

29+
- name: ⚙ dotnet
30+
uses: actions/setup-dotnet@v4
31+
with:
32+
dotnet-version: |
33+
6.x
34+
8.x
35+
9.x
36+
2937
- name: 🙏 build
3038
run: dotnet build -m:1 -bl:build.binlog
3139

@@ -35,7 +43,7 @@ jobs:
3543
dotnet retest -- --no-build
3644
3745
- name: 🐛 logs
38-
uses: actions/upload-artifact@v3
46+
uses: actions/upload-artifact@v4
3947
if: runner.debug && always()
4048
with:
4149
name: logs

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ BenchmarkDotNet.Artifacts
88
/app
99
.vs
1010
.vscode
11+
.genaiscript
1112
.idea
1213
local.settings.json
1314

.netconfig

+17-12
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@
3535
[file ".github/workflows/build.yml"]
3636
url = https://github.com/devlooped/oss/blob/main/.github/workflows/build.yml
3737
weak
38-
etag = f358acb1e45596bf0aad49996017da44939de30b805289c4ad205a7ccb6f99cb
39-
sha = 5e17ad62ebb5241555a7a4d29e3ab15e5ba120d2
38+
etag = 0a4b3f0a875cd8c9434742b4046558aecf610d3fa3d490cfd2099266e95e9195
39+
sha = 06e898ccba692566ebf845fa7c8833ac6c318c0a
4040

4141
[file ".gitignore"]
4242
url = https://github.com/devlooped/oss/blob/main/.gitignore
43-
etag = a9c37ae312afac14b78436a7d018af4483d88736b5f780576f2c5a0b3f14998c
43+
etag = c449ec6f76803e1891357ca2b8b4fcb5b2e5deeff8311622fd92ca9fbf1e6575
4444
weak
45-
sha = 02811fa23b0a102b9b33048335d41e515bf75737
45+
sha = e0be248fff1d39133345283b8227372b36574b75
4646

4747
[file "Directory.Build.rsp"]
4848
url = https://github.com/devlooped/oss/blob/main/Directory.Build.rsp
@@ -90,9 +90,9 @@
9090

9191
[file ".github/workflows/publish.yml"]
9292
url = https://github.com/devlooped/oss/blob/main/.github/workflows/publish.yml
93-
etag = 2cc96046d8f28e7cbcde89ed56d3d89e1a70fb0de7846ee1827bee66b7dfbcf1
93+
etag = 2f64f75ad01f735fd05290370fb8a826111ac8dd7e74ce04226bb627a54a62ba
9494
weak
95-
sha = 5e17ad62ebb5241555a7a4d29e3ab15e5ba120d2
95+
sha = 06e898ccba692566ebf845fa7c8833ac6c318c0a
9696

9797
[file ".github/workflows/release-artifacts.yml"]
9898
url = https://github.com/devlooped/oss/blob/main/.github/workflows/release-artifacts.yml
@@ -105,15 +105,15 @@
105105
skip
106106
[file ".github/workflows/dotnet-file.yml"]
107107
url = https://github.com/devlooped/oss/blob/main/.github/workflows/dotnet-file.yml
108-
sha = 7afe350f7e80a230e922db026d4e1198ba15cae1
108+
sha = 59aaf432369b5ea597831d4feec5a6ac4024c2e3
109109

110-
etag = 65e9794df6caff779eb989c8f71ddf4d4109b24a75af79e4f8d0fe6ba7bd9702
110+
etag = 1374e3f8c9b7af69c443605c03f7262300dcb7d783738d9eb9fe84268ed2d10c
111111
weak
112112
[file ".github/workflows/includes.yml"]
113113
url = https://github.com/devlooped/oss/blob/main/.github/workflows/includes.yml
114-
sha = d152e7437fd0d6f6d9363d23cb3b78c07335ea49
114+
sha = 85829f2510f335f4a411867f3dbaaa116c3ab3de
115115

116-
etag = ec40db34f379d0c6d83b2ec15624f330318a172cc4f85b5417c63e86eaf601df
116+
etag = 086f6b6316cc6ea7089c0dcc6980be519e6ed6e6201e65042ef41b82634ec0ee
117117
weak
118118
[file ".github/release.yml"]
119119
url = https://github.com/devlooped/oss/blob/main/.github/release.yml
@@ -140,9 +140,9 @@
140140
weak
141141
[file "profile/readme.md"]
142142
url = https://github.com/devlooped/.github/blob/main/profile/readme.md
143-
sha = db3612cae32f5e91ace407583a165bdbad916818
143+
sha = e8ece8fce8b22aa649984149b9418ba2739e8c53
144144

145-
etag = ef3fb8c4879a515b5c8bcd3988e17ed009813be2af5469a165dfa0506edba211
145+
etag = 5c7b850675daacdc2ff8ec0f364b947cc83369a8f9511c13045c0766b8b0611d
146146
weak
147147
[file ".github/workflows/triage.yml"]
148148
url = https://github.com/devlooped/oss/blob/main/.github/workflows/triage.yml
@@ -192,3 +192,8 @@
192192

193193
etag = efe72da5946abeddf63d0a3063da6ff9c2bc5d13a292ec24ddc2c2e40e0d283f
194194
weak
195+
[file ".github/workflows/dotnet-file-core.yml"]
196+
url = https://github.com/devlooped/oss/blob/main/.github/workflows/dotnet-file-core.yml
197+
sha = 875284ba5d565f529aba2f5d24ab8ed27c1d1c79
198+
etag = 8de1d974bf73b1945b5c8be684c3a0b7364114a0d795c9d68837aed9b3aff331
199+
weak

profile/readme.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ Contributing your valuable time to other projects is great too.
8686
### AutoSync
8787

8888
Sponsorships are renewed monthly (even if paid anually), so your dev machine manifest needs monthly renewal too.
89-
You can simplify this process by enabling [autosync](https://www.devlooped.com/SponsorLink/github.html#auto-sync)
89+
You can simplify this process by enabling [autosync](https://www.devlooped.com/SponsorLink/github/#auto-sync)
9090
so that the IDE tooling can automatically do this for you by checking at most once a day for expiration and running
9191
the same command you'd have to run manually: `sponsor sync devlooped`.
9292

readme.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,6 @@ prefix to add or remove workloads respectively, for example.
389389

390390
<!-- sponsors.md -->
391391
[![Clarius Org](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/clarius.png "Clarius Org")](https://github.com/clarius)
392-
[![Kirill Osenkov](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/KirillOsenkov.png "Kirill Osenkov")](https://github.com/KirillOsenkov)
393392
[![MFB Technologies, Inc.](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/MFB-Technologies-Inc.png "MFB Technologies, Inc.")](https://github.com/MFB-Technologies-Inc)
394393
[![Torutek](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/torutek-gh.png "Torutek")](https://github.com/torutek-gh)
395394
[![DRIVE.NET, Inc.](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/drivenet.png "DRIVE.NET, Inc.")](https://github.com/drivenet)
@@ -408,9 +407,7 @@ prefix to add or remove workloads respectively, for example.
408407
[![Jonathan ](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/Jonathan-Hickey.png "Jonathan ")](https://github.com/Jonathan-Hickey)
409408
[![Charley Wu](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/akunzai.png "Charley Wu")](https://github.com/akunzai)
410409
[![Jakob Tikjøb Andersen](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/jakobt.png "Jakob Tikjøb Andersen")](https://github.com/jakobt)
411-
[![Seann Alexander](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/seanalexander.png "Seann Alexander")](https://github.com/seanalexander)
412410
[![Tino Hager](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/tinohager.png "Tino Hager")](https://github.com/tinohager)
413-
[![Mark Seemann](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/ploeh.png "Mark Seemann")](https://github.com/ploeh)
414411
[![Ken Bonny](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/KenBonny.png "Ken Bonny")](https://github.com/KenBonny)
415412
[![Simon Cropp](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/SimonCropp.png "Simon Cropp")](https://github.com/SimonCropp)
416413
[![agileworks-eu](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/agileworks-eu.png "agileworks-eu")](https://github.com/agileworks-eu)
@@ -420,6 +417,8 @@ prefix to add or remove workloads respectively, for example.
420417
[![ChilliCream](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/ChilliCream.png "ChilliCream")](https://github.com/ChilliCream)
421418
[![4OTC](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/4OTC.png "4OTC")](https://github.com/4OTC)
422419
[![Vincent Limo](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/v-limo.png "Vincent Limo")](https://github.com/v-limo)
420+
[![Jordan S. Jones](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/jordansjones.png "Jordan S. Jones")](https://github.com/jordansjones)
421+
[![domischell](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/DominicSchell.png "domischell")](https://github.com/DominicSchell)
423422

424423

425424
<!-- sponsors.md -->

0 commit comments

Comments
 (0)