From 2e5816349f51d37642a0024902fdceb160ec8eb0 Mon Sep 17 00:00:00 2001 From: mxt Date: Sun, 2 Jun 2024 18:15:36 -0500 Subject: [PATCH 1/3] add ability to update badges on develop during push --- .github/workflows/build-workflow.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-workflow.yml b/.github/workflows/build-workflow.yml index ef3f729..f9a052a 100644 --- a/.github/workflows/build-workflow.yml +++ b/.github/workflows/build-workflow.yml @@ -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 'mxndtaylor@users.noreply.github.com' @@ -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 'mxndtaylor@users.noreply.github.com' + pdm badges-only + git commit -am "Update Badges" + git push From 354ffdc2496fe596f74b1d1b8c90f73fc708bf76 Mon Sep 17 00:00:00 2001 From: Auto Date: Sun, 2 Jun 2024 23:16:44 +0000 Subject: [PATCH 2/3] Update Badges --- badges/timestamp.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/badges/timestamp.txt b/badges/timestamp.txt index 9a0a9b3..3a35790 100644 --- a/badges/timestamp.txt +++ b/badges/timestamp.txt @@ -1 +1 @@ -Sun Jun 2 15:13:49 UTC 2024 +Sun Jun 2 23:16:44 UTC 2024 From 0f08819732d7cd0a329668c2f2a27c661205075d Mon Sep 17 00:00:00 2001 From: Auto Date: Sun, 2 Jun 2024 23:18:31 +0000 Subject: [PATCH 3/3] Update Badges --- badges/timestamp.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/badges/timestamp.txt b/badges/timestamp.txt index 98d00ad..5a86d03 100644 --- a/badges/timestamp.txt +++ b/badges/timestamp.txt @@ -1 +1 @@ -Sun Jun 2 23:16:44 UTC 2024 \ No newline at end of file +Sun Jun 2 23:18:31 UTC 2024