From a8a4b5a1820149e362af81a429f6fb49ac6b2eee Mon Sep 17 00:00:00 2001 From: ric-evans Date: Mon, 29 Jul 2024 10:54:58 -0400 Subject: [PATCH] pre-add required fields --- action.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/action.yml b/action.yml index d634165..8de7a9c 100644 --- a/action.yml +++ b/action.yml @@ -96,6 +96,9 @@ runs: # auto-create a blank toml that will be added to in next steps # when this action runs on next commit, it will match the 'else' condition below touch pyproject.toml + # add required fields + echo "[project]" >> pyproject.toml + echo "version = \"0.0.0\"" >> pyproject.toml else echo " " echo "WIPACrepo/wipac-dev-py-setup-action no longer supports 'setup.cfg'"