From 4ed06b0d656210c39a4e3e518aff99dc990c2145 Mon Sep 17 00:00:00 2001 From: Sadra Yahyapour Date: Wed, 2 Oct 2024 23:53:39 +0330 Subject: [PATCH] Create chart-badge.yml --- .github/workflows/chart-badge.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/chart-badge.yml diff --git a/.github/workflows/chart-badge.yml b/.github/workflows/chart-badge.yml new file mode 100644 index 0000000..bcb6eca --- /dev/null +++ b/.github/workflows/chart-badge.yml @@ -0,0 +1,25 @@ +name: Update the PyPI chart badge + +on: + schedule: + - cron: "0 0 * * 0" # <= runs every month + workflow_dispatch: + +jobs: + update-chart-badge: + name: Updating the pypi chart badge + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Updating the badge + uses: lnxpy/pypi-chart-badge@v1 + with: + package_name: 'hey-mindsdb' + + - uses: EndBug/add-and-commit@v9 + with: + default_author: github_actions + message: 'chart badge updated'