Skip to content

Commit

Permalink
Test automating oss nuget stats generation
Browse files Browse the repository at this point in the history
  • Loading branch information
kzu committed Sep 25, 2024
0 parents commit 73f6d81
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/nuget.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: nuget
on:
workflow_dispatch:
schedule:
- cron: "0 3 * * *"

jobs:
changelog:
runs-on: ubuntu-latest
steps:
- name: 🤖 defaults
uses: devlooped/actions-bot@v1
with:
name: ${{ secrets.BOT_NAME }}
email: ${{ secrets.BOT_EMAIL }}
gh_token: ${{ secrets.GH_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}

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

- name: ⚙ sponsors
run: |
dotnet tool update -g dotnet-sponsor
sponsor nuget
- name: ⬆️ commit
run: |
git add *.json
(git commit -m "🖉 Update OSS contributors stats" && git push) || echo "Done"
4 changes: 4 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
NuGet Contribution Graph
===

Generates and updates the nuget.json file containing all active nuget packages, their associated repositories and contributors.

0 comments on commit 73f6d81

Please sign in to comment.