File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -188,6 +188,17 @@ def test_action_contract_has_no_product_specific_inputs(self) -> None:
188188 self .assertNotIn ("community" , action .lower ())
189189 self .assertNotIn ("good first issue" , action .lower ())
190190
191+ def test_workflow_template_only_exposes_message_configuration (self ) -> None :
192+ workflow = (
193+ ROOT / "workflow-templates" / "first-merged-pr-comment.yml"
194+ ).read_text (encoding = "utf-8" )
195+ self .assertIn ("vars.FIRST_MERGED_PR_MESSAGE" , workflow )
196+ self .assertIn ("message-template:" , workflow )
197+ self .assertNotIn ("survey" , workflow .lower ())
198+ self .assertNotIn ("community" , workflow .lower ())
199+ self .assertNotIn ("good first issue" , workflow .lower ())
200+ self .assertNotIn ("checkout" , workflow .lower ())
201+
191202
192203if __name__ == "__main__" :
193204 unittest .main ()
You can’t perform that action at this time.
0 commit comments