From b3cc627ccdbf0319fd63f70a2670e3be7d80eff9 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Fri, 4 Oct 2024 08:09:37 +0330 Subject: [PATCH] using pypi chart badge --- .github/workflows/pypi_chart.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/pypi_chart.yml diff --git a/.github/workflows/pypi_chart.yml b/.github/workflows/pypi_chart.yml new file mode 100644 index 0000000..d1f94ab --- /dev/null +++ b/.github/workflows/pypi_chart.yml @@ -0,0 +1,25 @@ +name: Update the PyPI chart badge + +on: + schedule: + - cron: "0 0 1 * *" # <= runs every month + +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: pyaction + badge_color: '#03fc6f' + + - uses: EndBug/add-and-commit@v9 + with: + default_author: github_actions + message: 'chart badge updated'