From 3383f531bc25955eebb2644ba5b389413bd10219 Mon Sep 17 00:00:00 2001 From: Sebastian Rittau Date: Fri, 5 Apr 2024 14:40:40 +0200 Subject: [PATCH] GitHub Action: Allow reading version from pyproject.toml (#4294) Closes #4285 Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Co-authored-by: Jelle Zijlstra --- CHANGES.md | 3 + action.yml | 5 ++ action/main.py | 103 +++++++++++++++++++++++++++- docs/integrations/github_actions.md | 23 +++++-- 4 files changed, 126 insertions(+), 8 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 014aec77392..73b9954830a 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -48,6 +48,9 @@ +- Add a new option `use_pyproject` to the GitHub Action `psf/black`. This will read the + Black version from `pyproject.toml`. (#4294) + ### Documentation