-
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.
add ability to update badges on develop during push (#4)
- Loading branch information
Showing
2 changed files
with
10 additions
and
2 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 |
---|---|---|
|
@@ -82,7 +82,7 @@ jobs: | |
if: ${{ !cancelled() }} | ||
run: pdm style | ||
- name: Badges | ||
if: ${{ !cancelled() }} | ||
if: ${{ !cancelled() && github.event_name == 'pull_request' }} | ||
run: | | ||
git config --global user.name 'Auto' | ||
git config --global user.email '[email protected]' | ||
|
@@ -92,3 +92,11 @@ jobs: | |
pdm badges-only | ||
git commit -am "Update Badges" | ||
git push | ||
- name: Badges | ||
if: ${{ !cancelled() && github.event_name == 'push' }} | ||
run: | | ||
git config --global user.name 'Auto' | ||
git config --global user.email '[email protected]' | ||
pdm badges-only | ||
git commit -am "Update Badges" | ||
git push |
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 |
---|---|---|
@@ -1 +1 @@ | ||
Sun Jun 2 23:08:54 UTC 2024 | ||
Sun Jun 2 23:18:31 UTC 2024 |