Skip to content

Commit

Permalink
⬆️ Bump files with dotnet-file sync
Browse files Browse the repository at this point in the history
# devlooped/oss

- Rename sample assemblies for nicer display devlooped/oss@93df7c7
- Make sure Funding class is available to intellisense devlooped/oss@5813f21
- Add support and showcase determining install time devlooped/oss@717ddb1
- Introduce lazy-init of sponsoring status, simplify diagnostics devlooped/oss@5009784
- Fix path to jwk.ps1 alongside the SponsorLink.targets devlooped/oss@c4830fc
- Add our implementation of JWT manifest reading and reporting devlooped/oss@a0ae727
- Minimal docs on consuming devlooped/oss@827a1d1
- Make sure we report only once per product for entire solution devlooped/oss@4b7f922
- Improve versioning of sample package devlooped/oss@3b943f5
- Update to newest JsonWebTokens devlooped/oss@068140b
- Add nullable and generated code annotations devlooped/oss@b2a11fa
- Dynamically fetch devlooped JWK from github devlooped/oss@55124bc
- Remove dependency on ThisAssembly devlooped/oss@c879f25
- Replace JWT package in tests targets too devlooped/oss@ba1310c
- Whitespace and formatting devlooped/oss@d74f511
- Simplify and unify manifest reading implementation devlooped/oss@4fca946
- Upload binlog artifact on debug runs devlooped/oss@a67ae78
- Fix formatting/whitespace devlooped/oss@7febebc
- Remove unused tracing overloads devlooped/oss@08a8488
- Set env:gh_token if present as secret devlooped/oss@97ebd18
- Update to checkout@v4 devlooped/oss@5fb1723
- Cleanup build and publish to use VersionLabel devlooped/oss@14deaea
- Update dotnet-file.yml with fix to create pull request action devlooped/oss@11a331d
- Don't add random wait on manual dotnet-file runs devlooped/oss@7afe350
- Only ignore App folder directly under the root devlooped/oss@02811fa
- Add static usings to allow unprefixed ThrowXxxx devlooped/oss@6dfe21f
- Add compatibility for non-SDK projects without InitializeSourceControlInformation target devlooped/oss@6e96c59
- Set Version from VersionLabel if it's a refs/tags/ devlooped/oss@57653a2
- Improve default value for GenerateDocumentationFile devlooped/oss@b76de49
- Add common sponsors metadata to assemblies devlooped/oss@0789bf0
- Update assembly metadata format for Funding.GitHub devlooped/oss@5801de0
- SponsorLink metadata will be opt-in only by analyzer projects devlooped/oss@c618ea8
- Bump create-pr dependency to avoid error with existing PRs devlooped/oss@11a8757
- Only commit markdown files when resolving includes devlooped/oss@2c10a83
- Update sponsor.yml to use org-access token devlooped/oss@96ca2b1
- Fix condition check for sender != owner devlooped/oss@49f34c0
- Try using dotnet-sponsor CLI for checks devlooped/oss@e04e3e0

# devlooped/.github

- Fix missing bracket in link devlooped/.github@4d38bd1
- Rename community files devlooped/.github@80e81d2
- Update sponsorlink.jwt without the older 'pub' claim devlooped/.github@51e44c3
- Update readme.md devlooped/.github@55d9272
- Update discord invite to devlooped server devlooped/.github@a3ffa5d
- Fix typo devlooped/.github@e17634b
- Try adding anchor to stats devlooped/.github@390e4a5
- Try profile anchors devlooped/.github@27d7604
- Add SponsorLink section, improve a bit the badges and stats devlooped/.github@d6f9b01
- Update readme.md devlooped/.github@5c0ed40
- Update readme.md devlooped/.github@82c9a83
- Update readme.md devlooped/.github@b319295
- Update readme.md devlooped/.github@ecb79e3
- Update readme.md for renamed sponsors > sponsor devlooped/.github@4bc89bc
- Add status badges on sponsorlink usage devlooped/.github@1bdc06a
- Update readme.md devlooped/.github@b53e2d3

# devlooped/sponsors

- Refresh sponsors devlooped/sponsors@a82ff3a
- Refresh sponsors devlooped/sponsors@b8e0779
- Refresh sponsors devlooped/sponsors@3940890
- Refresh sponsors devlooped/sponsors@27b1fa6
- Refresh sponsors devlooped/sponsors@3894772
- Refresh sponsors devlooped/sponsors@b328d6a
- Refresh sponsors devlooped/sponsors@8fc98f8
- Refresh sponsors devlooped/sponsors@10242e5
- Refresh sponsors devlooped/sponsors@98f4cfa
- Refresh sponsors devlooped/sponsors@422d364
- Refresh sponsors devlooped/sponsors@cec7e85
- Refresh sponsors devlooped/sponsors@8a91355
- Refresh sponsors devlooped/sponsors@5b56774
  • Loading branch information
devlooped-bot committed Jul 3, 2024
1 parent 3f14ff2 commit 34a9950
Show file tree
Hide file tree
Showing 58 changed files with 3,037 additions and 159 deletions.
6 changes: 0 additions & 6 deletions .github/CODE_OF_CONDUCT.md

This file was deleted.

35 changes: 0 additions & 35 deletions .github/CONTRIBUTING.md

This file was deleted.

9 changes: 0 additions & 9 deletions .github/SECURITY.md

This file was deleted.

9 changes: 0 additions & 9 deletions .github/SUPPORT.md

This file was deleted.

20 changes: 14 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@ on:

env:
DOTNET_NOLOGO: true
VersionPrefix: 42.42.${{ github.run_number }}
VersionLabel: ${{ github.ref }}
PackOnBuild: true
GeneratePackageOnBuild: true
VersionPrefix: 42.42.${{ github.run_number }}
VersionLabel: ${{ github.ref }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}

defaults:
run:
Expand All @@ -33,7 +34,7 @@ jobs:
matrix: ${{ steps.lookup.outputs.matrix }}
steps:
- name: 🤘 checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: 🔎 lookup
id: lookup
Expand All @@ -52,13 +53,13 @@ jobs:
os: ${{ fromJSON(needs.os-matrix.outputs.matrix) }}
steps:
- name: 🤘 checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0

- name: 🙏 build
run: dotnet build -m:1
run: dotnet build -m:1 -bl:build.binlog

- name: ⚙ GNU grep
if: matrix.os == 'macOS-latest'
Expand All @@ -69,6 +70,13 @@ jobs:
- name: 🧪 test
uses: ./.github/workflows/test

- name: 🐛 logs
uses: actions/upload-artifact@v3
if: runner.debug && always()
with:
name: logs
path: '*.binlog'

# Only push CI package to sleet feed if building on ubuntu (fastest)
- name: 🚀 sleet
env:
Expand All @@ -82,7 +90,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 🤘 checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}

- name: 🤘 checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: main
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/dotnet-file.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,15 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}

- name: 🤘 checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: main
token: ${{ env.GH_TOKEN }}

- name: ⌛ rate
shell: pwsh
if: github.event_name != 'workflow_dispatch'
run: |
# add random sleep since we run on fixed schedule
sleep (get-random -max 60)
Expand Down Expand Up @@ -70,7 +71,7 @@ jobs:
validate: false

- name: ✍ pull request
uses: peter-evans/create-pull-request@v4
uses: peter-evans/create-pull-request@v6
with:
base: main
branch: dotnet-file-sync
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/includes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,17 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}

- name: 🤘 checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
token: ${{ env.GH_TOKEN }}

- name: +Mᐁ includes
uses: devlooped/actions-includes@v1

- name: ✍ pull request
uses: peter-evans/create-pull-request@v4
uses: peter-evans/create-pull-request@v6
with:
add-paths: '**/*.md'
base: main
branch: markdown-includes
delete-branch: true
Expand Down
13 changes: 11 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,31 @@ env:
Configuration: Release
PackOnBuild: true
GeneratePackageOnBuild: true
VersionLabel: ${{ github.ref }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}

jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: 🤘 checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0

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

- name: 🧪 test
uses: ./.github/workflows/test

- name: 🐛 logs
uses: actions/upload-artifact@v3
if: runner.debug && always()
with:
name: logs
path: '*.binlog'

- name: 🚀 nuget
run: dotnet nuget push ./bin/**/*.nupkg -s https://api.nuget.org/v3/index.json -k ${{secrets.NUGET_API_KEY}} --skip-duplicate
56 changes: 50 additions & 6 deletions .github/workflows/sponsor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,58 @@ jobs:
sponsor:
runs-on: ubuntu-latest
continue-on-error: true
env:
token: ${{ secrets.GH_TOKEN }}
if: ${{ !endsWith(github.event.sender.login, '[bot]') && !endsWith(github.event.sender.login, 'bot') }}
if: ${{ !endsWith(github.event.sender.login, '[bot]') && github.event.sender.login != github.repository_owner }}
steps:
- name: 🤘 checkout
if: env.token != ''
uses: actions/checkout@v2

uses: actions/checkout@v4

- name: ⚙ install
run: dotnet tool update -g dotnet-sponsor --prerelease

- name: 💻 setup
run: |
sponsor --version
pushd ~
git config -f .sponsorlink/.netconfig sponsorlink.id devlooped.sponsors.ci
- name: 🧪 run
shell: pwsh
env:
SPONSORABLE: ${{ secrets.GITHUB_TOKEN }}
TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
$env:TOKEN | sponsor sync $env:SPONSORABLE --tos --with-token
if ($LASTEXITCODE -eq -5) {
throw "Can not determine sponsorship with the provided token"
} elseif ($LASTEXITCODE -eq -6) {
Write-Output "User is not sponsoring, skipping"
exit 0
} elseif ($LASTEXITCODE -eq -3) {
Write-Output "$env:SPONSORABLE is not set up for SponsorLink"
exit 0
} elseif ($LASTEXITCODE -eq -4) {
Write-Output "$env:SPONSORABLE SponsorLink manifest is invalid"
exit 0
} elseif ($LASTEXITCODE -ne -0) {
Write-Output "Could not determine sponsor status"
exit $LASTEXITCODE
}
$roles = cat ~/.sponsorlink/github/$env:SPONSORABLE.jwt | jq -R 'split(".") | .[1] | @base64d | fromjson | .roles[]'
if (($roles | jq 'select(. == "team")' -r) -eq "team") {
Write-Output "User is a team member, skipping"
exit 0
} elseif (($roles | jq 'select(. == "contrib")' -r) -eq "contrib") {
Write-Output "User is a contributor!"
} else {
Write-Output "User is a sponsor"
if (($roles | jq 'select(. == "org")' -r) -eq "org") {
Write-Output " (indirectly as a sponsoring organization member)"
} elseif (($roles | jq 'select(. == "user")' -r) -eq "user") {
Write-Output " (as a direct sponsor)"
}
}
- name: 💜 sponsor
if: env.token != ''
uses: devlooped/actions-sponsor@main
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
bin
app
obj
artifacts
pack
TestResults
results
BenchmarkDotNet.Artifacts
/app
.vs
.vscode
.idea
Expand Down
5 changes: 0 additions & 5 deletions .netconfig
Original file line number Diff line number Diff line change
Expand Up @@ -151,11 +151,6 @@
sha = c97cdeb04769df3f397d9e70b345d4549628c388
etag = fc8101fd914820db3e6b42d608dc46aefbc60c830ac721ed3917daead3727dbd
weak
[file ".github/SUPPORT.md"]
url = https://github.com/devlooped/.github/blob/main/.github/SUPPORT.md
sha = c97cdeb04769df3f397d9e70b345d4549628c388
etag = 2d47e2fc4fdfa3515203d452674566e3df507461f9938f451a06d79deb687d24
weak
[file "profile/readme.md"]
url = https://github.com/devlooped/.github/blob/main/profile/readme.md
sha = 7676dd2cb4bc284b699dfd7e0888c4c8fe28de9a
Expand Down
9 changes: 3 additions & 6 deletions docs/sponsors.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,18 @@
[![Stephen Shaw](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/decriptor.png "Stephen Shaw")](https://github.com/decriptor)
[![Torutek](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/torutek-gh.png "Torutek")](https://github.com/torutek-gh)
[![DRIVE.NET, Inc.](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/drivenet.png "DRIVE.NET, Inc.")](https://github.com/drivenet)
[![Daniel Gnägi](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/dgnaegi.png "Daniel Gnägi")](https://github.com/dgnaegi)
[![Ashley Medway](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/AshleyMedway.png "Ashley Medway")](https://github.com/AshleyMedway)
[![Keith Pickford](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/Keflon.png "Keith Pickford")](https://github.com/Keflon)
[![Thomas Bolon](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/tbolon.png "Thomas Bolon")](https://github.com/tbolon)
[![Kori Francis](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/kfrancis.png "Kori Francis")](https://github.com/kfrancis)
[![Sean Killeen](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/SeanKilleen.png "Sean Killeen")](https://github.com/SeanKilleen)
[![Toni Wenzel](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/twenzel.png "Toni Wenzel")](https://github.com/twenzel)
[![Giorgi Dalakishvili](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/Giorgi.png "Giorgi Dalakishvili")](https://github.com/Giorgi)
[![Mike James](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/MikeCodesDotNET.png "Mike James")](https://github.com/MikeCodesDotNET)
[![Uno Platform](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/unoplatform.png "Uno Platform")](https://github.com/unoplatform)
[![Dan Siegel](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/dansiegel.png "Dan Siegel")](https://github.com/dansiegel)
[![Reuben Swartz](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/rbnswartz.png "Reuben Swartz")](https://github.com/rbnswartz)
[![Jacob Foshee](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/jfoshee.png "Jacob Foshee")](https://github.com/jfoshee)
[![](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/Mrxx99.png "")](https://github.com/Mrxx99)
[![Eric Johnson](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/eajhnsn1.png "Eric Johnson")](https://github.com/eajhnsn1)
[![Norman Mackay](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/mackayn.png "Norman Mackay")](https://github.com/mackayn)
[![Certify The Web](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/certifytheweb.png "Certify The Web")](https://github.com/certifytheweb)
[![Ix Technologies B.V.](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/IxTechnologies.png "Ix Technologies B.V.")](https://github.com/IxTechnologies)
[![David JENNI](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/davidjenni.png "David JENNI")](https://github.com/davidjenni)
[![Jonathan ](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/Jonathan-Hickey.png "Jonathan ")](https://github.com/Jonathan-Hickey)
Expand All @@ -29,11 +25,12 @@
[![Seann Alexander](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/seanalexander.png "Seann Alexander")](https://github.com/seanalexander)
[![Tino Hager](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/tinohager.png "Tino Hager")](https://github.com/tinohager)
[![Mark Seemann](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/ploeh.png "Mark Seemann")](https://github.com/ploeh)
[![Angelo Belchior](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/angelobelchior.png "Angelo Belchior")](https://github.com/angelobelchior)
[![Ken Bonny](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/KenBonny.png "Ken Bonny")](https://github.com/KenBonny)
[![Simon Cropp](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/SimonCropp.png "Simon Cropp")](https://github.com/SimonCropp)
[![agileworks-eu](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/agileworks-eu.png "agileworks-eu")](https://github.com/agileworks-eu)
[![sorahex](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/sorahex.png "sorahex")](https://github.com/sorahex)
[![Zheyu Shen](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/arsdragonfly.png "Zheyu Shen")](https://github.com/arsdragonfly)
[![Vezel](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/vezel-dev.png "Vezel")](https://github.com/vezel-dev)
[![ChilliCream](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/ChilliCream.png "ChilliCream")](https://github.com/ChilliCream)
[![4OTC](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/4OTC.png "4OTC")](https://github.com/4OTC)

Loading

0 comments on commit 34a9950

Please sign in to comment.