Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Larentis (0.18 sec)

  1. .github/workflows/CheckBadMerge.groovy

        }
    
        static void checkCommit(String commit) {
            List<String> parentCommits = parentCommitsOf(commit)
            if (parentCommits.size() != 2) {
                println("$commit is not a merge commit we're looking for. Parents: $parentCommits")
                return
            }
    
            // The correct state we are looking for is:
            // 1. It's a merge commit.
            // 2. One of its parent commits is from master only.
    Groovy
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Tue Dec 19 10:35:44 GMT 2023
    - 6.5K bytes
    - Viewed (0)
Back to top