From 645edd4716826912efe074cffc2d1f76b821a757 Mon Sep 17 00:00:00 2001 From: Santi Legaristi Date: Fri, 13 Nov 2026 20:20:25 +0100 Subject: [PATCH] fix(action): shorten the description to fit the Marketplace limit (#41) The Marketplace requires an action description under 125 characters. --- action.yml | 2 +- tests/test_unit.py | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index f8c5352..e8abe72 100644 --- a/action.yml +++ b/action.yml @@ -1,5 +1,5 @@ name: keepstack -description: Persistent local AWS for your workflows, and a Terraform validator for pull requests. Runs the official AWS Emulator behind keepstack. +description: Persistent local AWS for your workflows and a Terraform validator for pull requests, on the official AWS Emulator. author: keepstack contributors branding: icon: database diff --git a/tests/test_unit.py b/tests/test_unit.py index c56208b..4b094cf 100644 --- a/tests/test_unit.py +++ b/tests/test_unit.py @@ -174,5 +174,13 @@ def test_reads_are_answered_anyway(self): forward.assert_called_once() +class TestActionMetadata(unittest.TestCase): # regression #41 + def test_marketplace_description_limit(self): + root = os.path.join(os.path.dirname(os.path.abspath(__file__)), "..") + with open(os.path.join(root, "action.yml"), encoding="utf-8") as f: + line = next(l for l in f if l.startswith("description:")) + self.assertLess(len(line.split(":", 1)[1].strip()), 125) + + if __name__ == "__main__": unittest.main()