Skip to content

henningWoehr/action-poetry-check-version

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

action-poetry-check-version

GitHub Action for Python projects using poetry

Description

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.

Action Inputs

Input name Description Required Default Value
token Github token to make authed request to GH API true None

Action Outputs

Output name Description
- -

Example

Notes

  • 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 }}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published