-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test automating oss nuget stats generation
- Loading branch information
0 parents
commit 73f6d81
Showing
2 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |