There was an error while loading. Please reload this page.
1 parent 9604090 commit e0ca2ddCopy full SHA for e0ca2dd
1 file changed
.github/workflows/downloads.yaml
@@ -1,9 +1,6 @@
1
name: Update Download Badge
2
3
on:
4
- schedule:
5
- - cron: '0 0 * * *'
6
-
7
workflow_dispatch:
8
9
permissions:
@@ -60,13 +57,13 @@ jobs:
60
57
}
61
58
EOF
62
59
63
- - name: Commit badge
64
- run: |
65
- git config user.name github-actions
66
- git config user.email github-actions@github.com
67
68
- git add .github/badges/downloads.json
69
70
- git diff --cached --quiet || git commit -m "Update download badge"
71
72
- git push
+ - name: Create pull request
+ uses: peter-evans/create-pull-request@v7
+ with:
+ commit-message: Update download badge
+ title: Update download badge
+ body: Automated update of total NuGet downloads badge.
+ branch: automation/update-download-badge
+ delete-branch: true
+ add-paths: |
+ .github/badges/downloads.json
0 commit comments