The-Standard-Organization / ADotNet

ADotNet is a.NET library that enables software engineers on the .NET platform to develop AzureDevOps pipelines and Git Actions in C#.
98 stars 34 forks source link

FOUNDATIONS: Check PR Title Job #95

Closed cjdutoit closed 1 month ago

cjdutoit commented 9 months ago

This job will checkout that a PR has been created with one of THE STANDARD accepted categories mentioned here: https://github.com/hassanhabib/The-Standard-Team/blob/main/4%20Practices/4%20Practices.md#4113-category-list

                Jobs = new Dictionary<string, Job>
                {
                    {
                        "check_pr_title",
                        new CheckPrTitleJob(
                            runsOn: BuildMachines.UbuntuLatest)
                    },
                    {
                        "build",
                        new Job
                        {
                            Needs = new string[] { "check_pr_title" },
                            . . . 
                        }
                    }
                }

STEPS:

Sample success message image

image

Sample error message image

hassanhabib commented 9 months ago

@elbekdeveloper is this a toaster?

glhays commented 9 months ago

@hassanhabib, @cjdutoit, @ElbekDeveloper Docs need to align, when branch naming we use a mix of singularity and plurals, when naming a pull request here(see pr commits), we appear to be using only singular category names. It becomes hard to assist new comers to The Standard when these mixed signals are out there.

image

image

cjdutoit commented 8 months ago

@hassanhabib, @cjdutoit, @ElbekDeveloper Docs need to align, when branch naming we use a mix of singularity and plurals, when naming a pull request here(see pr commits), we appear to be using only singular category names. It becomes hard to assist new comers to The Standard when these mixed signals are out there.

image

image

Hi @glhays / @hassanhabib / @ElbekDeveloper, this was done on purpose to closely match GitFyle, but happy to change this to plural version only as long as that is supported by GitFyle.