Skip to content

Latest commit

 

History

History
56 lines (46 loc) · 1.86 KB

README.md

File metadata and controls

56 lines (46 loc) · 1.86 KB

poetry-badges

Serverless badges from your Poetry pyproject.toml with Github Actions.

build coverage tag license node

Examples:

name: Make Poetry Badges
on:
  push:
    branches: [main]

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: action-badges/[email protected]
        with:
          branch-name: badges

      - name: Make version Badge
        uses: action-badges/[email protected]
        with:
          file-name: poetry-version.svg
          badge-branch: badges
          github-token: '${{ secrets.GITHUB_TOKEN }}'
          integration: version

      - name: Make license badge
        uses: action-badges/[email protected]
        with:
          file-name: poetry-license.svg
          badge-branch: badges
          github-token: '${{ secrets.GITHUB_TOKEN }}'
          integration: license

      - name: Make django version badge
        uses: action-badges/[email protected]
        with:
          file-name: poetry-django-version.svg
          badge-branch: badges
          github-token: '${{ secrets.GITHUB_TOKEN }}'
          integration: dependency-version
          dependency-type: dependencies
          dependency: Django

All of the standard action-badges parameters can also be used.