GitHub Action for Python projects using poetry
This action compares the current project version with the latest tag of the repository. Fails if the project version isn't newer than the newest tag.
Input name | Description | Required | Default Value |
---|---|---|---|
token | Github token to make authed request to GH API | true | None |
Output name | Description |
---|---|
- | - |
- No code checkout is needed
name: Check Version
on:
pull_request:
branches:
- master
workflow_dispatch:
jobs:
check_version:
runs-on: ubuntu-latest
steps:
- name: Check Version
uses: henningwoehr/actions/poetry/check-version@main
with:
token: ${{ secrets.GITHUB_TOKEN }}