From b36771f8fc0457a8a43ffa2e17006b5a9d34782d Mon Sep 17 00:00:00 2001 From: Christian Pedersen Date: Sat, 28 Dec 2024 22:14:08 +0100 Subject: [PATCH] ci: add daily badge cache refresh workflow --- .github/workflows/refresh-badges.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/refresh-badges.yml diff --git a/.github/workflows/refresh-badges.yml b/.github/workflows/refresh-badges.yml new file mode 100644 index 0000000..5ccd8b4 --- /dev/null +++ b/.github/workflows/refresh-badges.yml @@ -0,0 +1,19 @@ +name: Refresh Badges + +on: + schedule: + - cron: '0 0 * * *' # Run at 00:00 UTC every day + push: + branches: + - main + workflow_dispatch: # Allow manual triggering + +jobs: + refresh: + runs-on: ubuntu-latest + steps: + - name: Refresh badges + uses: b3b00/refreshBadgesAction@v1.0.7 + with: + repository: 'zenturacp/mcp-rest-api' + branch: 'main'