Dec 19 2022
12:56 AM
- last edited on
Mar 05 2024
02:14 PM
by
TechCommunityAP
Dec 19 2022
12:56 AM
- last edited on
Mar 05 2024
02:14 PM
by
TechCommunityAP
Hi Team,
I have a master branch that contains multiple YAML files. Every YAML file change will be pushed to feature/{filename. yaml} and with pull request will be merged to the master branch.
But before merging I need to validate that file from the feature has valid YAML syntax.
If the syntax is not valid build will fail and not be merged to the master branch.
But if everything is ok I need to send the content of the yaml file to the API endpoint, and then merge it to the master branch.
Thanks