Serverless badges from your Poetry pyproject.toml
with Github Actions.
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.