diff --git a/.github/workflows/nuget.yml b/.github/workflows/nuget.yml new file mode 100644 index 0000000..dab5851 --- /dev/null +++ b/.github/workflows/nuget.yml @@ -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" \ No newline at end of file diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..c17d72e --- /dev/null +++ b/readme.md @@ -0,0 +1,4 @@ +NuGet Contribution Graph +=== + +Generates and updates the nuget.json file containing all active nuget packages, their associated repositories and contributors. \ No newline at end of file