diff --git a/.github/workflows/pip-rating.yml b/.github/workflows/pip-rating.yml new file mode 100644 index 0000000..51350ab --- /dev/null +++ b/.github/workflows/pip-rating.yml @@ -0,0 +1,21 @@ +name: Pip-rating + +on: + push: + branches: + - develop + schedule: + - cron: '0 0 * * SUN' + +jobs: + build: + runs-on: ubuntu-latest + permissions: write-all + steps: + - uses: actions/checkout@v2 + - name: Run pip-rating + uses: Nekmo/pip-rating@master + with: + create_badge: true + badge_style: flat-square + badge_branch: pip-rating-badge diff --git a/README.rst b/README.rst index af6ad5a..86fea4f 100644 --- a/README.rst +++ b/README.rst @@ -3,6 +3,9 @@ | +.. image:: https://raw.githubusercontent.com/Nekmo/dirhunt/pip-rating-badge/pip-rating-badge.svg + :target: https://github.com/Nekmo/dirhunt/actions/workflows/pip-rating.yml + :alt: pip-rating badge .. image:: https://img.shields.io/github/actions/workflow/status/Nekmo/dirhunt/test.yml?style=flat-square&maxAge=2592000&branch=develop :target: https://github.com/Nekmo/dirhunt/actions?query=workflow%3ATests