nebius/SWE-rebench-V2-PRs huggingface dataset:
Repository: authorjapps/zerocode
Pull request #287 (2019-08-03 08:51:37)

Zcode sonatype release branch


Patch:
diff --git a/core/pom.xml b/core/pom.xml
index 4f96f7d9..11922e04 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -4,7 +4,7 @@
     <parent>
         <artifactId>zerocode-tdd-parent</artifactId>
         <groupId>org.jsmart</groupId>
-        <version>1.3.10-SNAPSHOT</version>
+        <version>1.3.12-SNAPSHOT</version>
     </parent>
 
     <artifactId>zerocode-tdd</artifactId>
diff --git a/core/src/main/java/org/jsmart/zerocode/core/utils/FixedLengthRandomGenerator.java b/core/src/main/java/org/jsmart/zerocode/core/utils/FixedLengthRandomGenerator.java
index 724b94ab..403c5822 100644
--- a/core/src/main/java/org/jsmart/zerocode/core/utils/FixedLengthRandomGenerator.java
+++ b/core/src/main/java/org/jsmart/zerocode/core/utils/FixedLengthRandomGenerator.java
@@ -33,7 +33,7 @@ public class FixedLengthRandomGenerator {
     }
 
     /**
-     * @param length of the random number(0 < length < 20)
+     * @param length of the random number(1 to 19 i.e. between 0 to 20)
      * @return a {@link FixedLengthRandomGenerator} number of given length
      */
     public static FixedLengthRandomGenerator getGenerator(int length) {
diff --git a/pom.xml b/pom.xml
index 841a66d3..67a2ff2c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -9,7 +9,7 @@
 
     <artifactId>zerocode-tdd-parent</artifactId>
     <groupId>org.jsmart</groupId>
-    <version>1.3.10-SNAPSHOT</version>
+    <version>1.3.12-SNAPSHOT</version>
 
     <packaging>pom</packaging>
     <name>ZeroCode TDD Parent</name>


Test patch:
diff --git a/http-testing/pom.xml b/http-testing/pom.xml
index aefb4136..287f56cc 100644
--- a/http-testing/pom.xml
+++ b/http-testing/pom.xml
@@ -4,7 +4,7 @@
     <parent>
         <artifactId>zerocode-tdd-parent</artifactId>
         <groupId>org.jsmart</groupId>
-        <version>1.3.10-SNAPSHOT</version>
+        <version>1.3.12-SNAPSHOT</version>
     </parent>
 
     <groupId>org.jsmart</groupId>
diff --git a/junit5-testing/pom.xml b/junit5-testing/pom.xml
index 181e15ea..10eae491 100644
--- a/junit5-testing/pom.xml
+++ b/junit5-testing/pom.xml
@@ -4,7 +4,7 @@
     <parent>
         <artifactId>zerocode-tdd-parent</artifactId>
         <groupId>org.jsmart</groupId>
-        <version>1.3.10-SNAPSHOT</version>
+        <version>1.3.12-SNAPSHOT</version>
     </parent>
 
     <artifactId>zerocode-tdd-jupiter</artifactId>
diff --git a/kafka-testing/pom.xml b/kafka-testing/pom.xml
index 1692e516..964167a1 100644
--- a/kafka-testing/pom.xml
+++ b/kafka-testing/pom.xml
@@ -4,7 +4,7 @@
 	<parent>
 		<artifactId>zerocode-tdd-parent</artifactId>
 		<groupId>org.jsmart</groupId>
-		<version>1.3.10-SNAPSHOT</version>
+		<version>1.3.12-SNAPSHOT</version>
 	</parent>
 
 	<groupId>org.jsmart</groupId>
Repository: authorjapps/zerocode
Pull request #293 (2019-08-11 00:48:55)

Zcode sonatype release branch


Patch:
diff --git a/core/pom.xml b/core/pom.xml
index 11922e04..3a98a82b 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -4,7 +4,7 @@
     <parent>
         <artifactId>zerocode-tdd-parent</artifactId>
         <groupId>org.jsmart</groupId>
-        <version>1.3.12-SNAPSHOT</version>
+        <version>1.3.13-SNAPSHOT</version>
     </parent>
 
     <artifactId>zerocode-tdd</artifactId>
diff --git a/pom.xml b/pom.xml
index 67a2ff2c..1bada659 100644
--- a/pom.xml
+++ b/pom.xml
@@ -9,7 +9,7 @@
 
     <artifactId>zerocode-tdd-parent</artifactId>
     <groupId>org.jsmart</groupId>
-    <version>1.3.12-SNAPSHOT</version>
+    <version>1.3.13-SNAPSHOT</version>
 
     <packaging>pom</packaging>
     <name>ZeroCode TDD Parent</name>


Test patch:
diff --git a/http-testing/pom.xml b/http-testing/pom.xml
index 287f56cc..20ea3ae4 100644
--- a/http-testing/pom.xml
+++ b/http-testing/pom.xml
@@ -4,7 +4,7 @@
     <parent>
         <artifactId>zerocode-tdd-parent</artifactId>
         <groupId>org.jsmart</groupId>
-        <version>1.3.12-SNAPSHOT</version>
+        <version>1.3.13-SNAPSHOT</version>
     </parent>
 
     <groupId>org.jsmart</groupId>
diff --git a/junit5-testing/pom.xml b/junit5-testing/pom.xml
index 10eae491..34820daf 100644
--- a/junit5-testing/pom.xml
+++ b/junit5-testing/pom.xml
@@ -4,7 +4,7 @@
     <parent>
         <artifactId>zerocode-tdd-parent</artifactId>
         <groupId>org.jsmart</groupId>
-        <version>1.3.12-SNAPSHOT</version>
+        <version>1.3.13-SNAPSHOT</version>
     </parent>
 
     <artifactId>zerocode-tdd-jupiter</artifactId>
diff --git a/kafka-testing/pom.xml b/kafka-testing/pom.xml
index 964167a1..6105f14d 100644
--- a/kafka-testing/pom.xml
+++ b/kafka-testing/pom.xml
@@ -4,7 +4,7 @@
 	<parent>
 		<artifactId>zerocode-tdd-parent</artifactId>
 		<groupId>org.jsmart</groupId>
-		<version>1.3.12-SNAPSHOT</version>
+		<version>1.3.13-SNAPSHOT</version>
 	</parent>
 
 	<groupId>org.jsmart</groupId>
Repository: authorjapps/zerocode
Pull request #364 (2020-02-21 15:58:42)

Zcode sonatype release branch
# <Feature Title>

PR Branch
**_#ADD LINK TO THE PR BRANCH_**

## Motivation and Context

## Checklist:

* [ ] Unit tests added?

* [ ] Integration tests added?

* [ ] Test names are meaningful?

* [ ] Feature manually tested?

* [ ] Branch build passed?

* [ ] No 'package.*' in the imports

* [ ] Relevant Wiki page updated with clear instruction for the end user

* [ ] Http test added to `http-testing` module(if applicable) ?

* [ ] Kafka test added to `kafka-testing` module(if applicable) ?



Patch:
diff --git a/core/pom.xml b/core/pom.xml
index a4d84786..fc1f4bc0 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -4,7 +4,7 @@
     <parent>
         <artifactId>zerocode-tdd-parent</artifactId>
         <groupId>org.jsmart</groupId>
-        <version>1.3.17-SNAPSHOT</version>
+        <version>1.3.18-SNAPSHOT</version>
     </parent>
 
     <artifactId>zerocode-tdd</artifactId>
diff --git a/pom.xml b/pom.xml
index 3ed0f0a9..7ef6532a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -9,7 +9,7 @@
 
     <artifactId>zerocode-tdd-parent</artifactId>
     <groupId>org.jsmart</groupId>
-    <version>1.3.17-SNAPSHOT</version>
+    <version>1.3.18-SNAPSHOT</version>
 
     <packaging>pom</packaging>
     <name>ZeroCode TDD Parent</name>


Test patch:
diff --git a/http-testing/pom.xml b/http-testing/pom.xml
index 5800aefa..9ba83ba4 100644
--- a/http-testing/pom.xml
+++ b/http-testing/pom.xml
@@ -4,7 +4,7 @@
     <parent>
         <artifactId>zerocode-tdd-parent</artifactId>
         <groupId>org.jsmart</groupId>
-        <version>1.3.17-SNAPSHOT</version>
+        <version>1.3.18-SNAPSHOT</version>
     </parent>
 
     <groupId>org.jsmart</groupId>
diff --git a/junit5-testing/pom.xml b/junit5-testing/pom.xml
index 59860210..de0460c9 100644
--- a/junit5-testing/pom.xml
+++ b/junit5-testing/pom.xml
@@ -4,7 +4,7 @@
     <parent>
         <artifactId>zerocode-tdd-parent</artifactId>
         <groupId>org.jsmart</groupId>
-        <version>1.3.17-SNAPSHOT</version>
+        <version>1.3.18-SNAPSHOT</version>
     </parent>
 
     <artifactId>zerocode-tdd-jupiter</artifactId>
diff --git a/kafka-testing/pom.xml b/kafka-testing/pom.xml
index 9d6b4898..3ce78bad 100644
--- a/kafka-testing/pom.xml
+++ b/kafka-testing/pom.xml
@@ -4,7 +4,7 @@
 	<parent>
 		<artifactId>zerocode-tdd-parent</artifactId>
 		<groupId>org.jsmart</groupId>
-		<version>1.3.17-SNAPSHOT</version>
+		<version>1.3.18-SNAPSHOT</version>
 	</parent>
 
 	<artifactId>kafka-testing</artifactId>
Repository: authorjapps/zerocode
Pull request #388 (2020-05-04 11:50:28)

Zcode sonatype release branch
# <Feature Title>

PR Branch
**_#ADD LINK TO THE PR BRANCH_**

## Motivation and Context

## Checklist:

* [ ] Unit tests added?

* [ ] Integration tests added?

* [ ] Test names are meaningful?

* [ ] Feature manually tested?

* [x] Branch build passed?

* [ ] No 'package.*' in the imports

* [ ] Relevant Wiki page updated with clear instruction for the end user

* [ ] Http test added to `http-testing` module(if applicable) ?

* [ ] Kafka test added to `kafka-testing` module(if applicable) ?



Patch:
diff --git a/core/pom.xml b/core/pom.xml
index 7eb9d74e..954853d1 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -4,7 +4,7 @@
     <parent>
         <artifactId>zerocode-tdd-parent</artifactId>
         <groupId>org.jsmart</groupId>
-        <version>1.3.19-SNAPSHOT</version>
+        <version>1.3.20-SNAPSHOT</version>
     </parent>
 
     <artifactId>zerocode-tdd</artifactId>
diff --git a/pom.xml b/pom.xml
index fa844cee..0abbf60c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -9,7 +9,7 @@
 
     <artifactId>zerocode-tdd-parent</artifactId>
     <groupId>org.jsmart</groupId>
-    <version>1.3.19-SNAPSHOT</version>
+    <version>1.3.20-SNAPSHOT</version>
 
     <packaging>pom</packaging>
     <name>ZeroCode TDD Parent</name>


Test patch:
diff --git a/http-testing/pom.xml b/http-testing/pom.xml
index 8d773150..b596e2e0 100644
--- a/http-testing/pom.xml
+++ b/http-testing/pom.xml
@@ -4,7 +4,7 @@
     <parent>
         <artifactId>zerocode-tdd-parent</artifactId>
         <groupId>org.jsmart</groupId>
-        <version>1.3.19-SNAPSHOT</version>
+        <version>1.3.20-SNAPSHOT</version>
     </parent>
 
     <groupId>org.jsmart</groupId>
diff --git a/junit5-testing/pom.xml b/junit5-testing/pom.xml
index 723fa437..97a3ddff 100644
--- a/junit5-testing/pom.xml
+++ b/junit5-testing/pom.xml
@@ -4,7 +4,7 @@
     <parent>
         <artifactId>zerocode-tdd-parent</artifactId>
         <groupId>org.jsmart</groupId>
-        <version>1.3.19-SNAPSHOT</version>
+        <version>1.3.20-SNAPSHOT</version>
     </parent>
 
     <artifactId>zerocode-tdd-jupiter</artifactId>
diff --git a/kafka-testing/pom.xml b/kafka-testing/pom.xml
index 14029192..34b7ed43 100644
--- a/kafka-testing/pom.xml
+++ b/kafka-testing/pom.xml
@@ -4,7 +4,7 @@
 	<parent>
 		<artifactId>zerocode-tdd-parent</artifactId>
 		<groupId>org.jsmart</groupId>
-		<version>1.3.19-SNAPSHOT</version>
+		<version>1.3.20-SNAPSHOT</version>
 	</parent>
 
 	<artifactId>kafka-testing</artifactId>
Repository: vitessio/vitess
Pull request #7080 (2020-11-27 07:13:49)

Make sure to check all GROUP BY columns
A bug in the code allowed any expression to be accepted, as long as the first expression in the GROUP BY list is valid.


Patch:
diff --git a/go/vt/vtgate/planbuilder/grouping.go b/go/vt/vtgate/planbuilder/grouping.go
index f79c28c368..e3d81b3ea8 100644
--- a/go/vt/vtgate/planbuilder/grouping.go
+++ b/go/vt/vtgate/planbuilder/grouping.go
@@ -50,8 +50,8 @@ func planGroupBy(pb *primitiveBuilder, input logicalPlan, groupBy sqlparser.Grou
 		node.Select.(*sqlparser.Select).GroupBy = groupBy
 		return node, nil
 	case *orderedAggregate:
-		colNumber := -1
 		for _, expr := range groupBy {
+			colNumber := -1
 			switch e := expr.(type) {
 			case *sqlparser.ColName:
 				c := e.Metadata.(*column)


Test patch:
diff --git a/go/vt/vtgate/planbuilder/testdata/aggr_cases.txt b/go/vt/vtgate/planbuilder/testdata/aggr_cases.txt
index 32a87d8e48..0bddba6a59 100644
--- a/go/vt/vtgate/planbuilder/testdata/aggr_cases.txt
+++ b/go/vt/vtgate/planbuilder/testdata/aggr_cases.txt
@@ -389,6 +389,10 @@
   }
 }
 
+# group by must only reference expressions in the select list
+"select col, count(*) from user group by col, baz"
+"unsupported: in scatter query: group by column must reference column in SELECT list"
+
 # group by a non-unique vindex column should use an OrderdAggregate primitive
 "select name, count(*) from user group by name"
 {
@@ -905,6 +909,34 @@
   }
 }
 
+# scatter aggregate multiple group by columns inverse order
+"select a, b, count(*) from user group by b, a"
+{
+  "QueryType": "SELECT",
+  "Original": "select a, b, count(*) from user group by b, a",
+  "Instructions": {
+    "OperatorType": "Aggregate",
+    "Variant": "Ordered",
+    "Aggregates": "count(2)",
+    "Distinct": "false",
+    "GroupBy": "1, 0",
+    "Inputs": [
+      {
+        "OperatorType": "Route",
+        "Variant": "SelectScatter",
+        "Keyspace": {
+          "Name": "user",
+          "Sharded": true
+        },
+        "FieldQuery": "select a, b, count(*) from user where 1 != 1 group by b, a",
+        "OrderBy": "1 ASC, 0 ASC",
+        "Query": "select a, b, count(*) from user group by b, a order by b asc, a asc",
+        "Table": "user"
+      }
+    ]
+  }
+}
+
 # scatter aggregate group by column number
 "select col from user group by 1"
 {
Repository: google/exposure-notifications-server
Pull request #1504 (2021-04-09 18:23:01)

Add function for clearing cache
**Release Note**

<!-- Enter your extended release note in the below block. If the PR requires
additional action from users switching to the new release, include the string
"action required". If no release note is required, write "NONE". -->

```release-note
Add function for clearing in-memory cache.
```


Patch:
diff --git a/pkg/cache/cache.go b/pkg/cache/cache.go
index e34fd0d..a7bda7b 100644
--- a/pkg/cache/cache.go
+++ b/pkg/cache/cache.go
@@ -27,6 +27,8 @@ import (
 
 var ErrInvalidDuration = errors.New("expireAfter duration cannot be negative")
 
+const initialSize = 16
+
 type Func func() (interface{}, error)
 
 type Cache struct {
@@ -51,7 +53,7 @@ func New(expireAfter time.Duration) (*Cache, error) {
 	}
 
 	return &Cache{
-		data:        make(map[string]item),
+		data:        make(map[string]item, initialSize),
 		expireAfter: expireAfter,
 	}, nil
 }
@@ -75,6 +77,13 @@ func (c *Cache) Size() int {
 	return len(c.data)
 }
 
+// Clear removes all items from the cache, regardless of their expiration.
+func (c *Cache) Clear() {
+	c.mu.Lock()
+	defer c.mu.Unlock()
+	c.data = make(map[string]item, initialSize)
+}
+
 // WriteThruLookup checks the cache for the value associated with name,
 // and if not found or expired, invokes the provided primaryLookup function
 // to local the value.


Test patch:
diff --git a/pkg/cache/cache_test.go b/pkg/cache/cache_test.go
index cb8b643..a4bfb13 100644
--- a/pkg/cache/cache_test.go
+++ b/pkg/cache/cache_test.go
@@ -80,6 +80,28 @@ func TestCache(t *testing.T) {
 	checkSize(t, cache, 0)
 }
 
+func TestCacheClear(t *testing.T) {
+	t.Parallel()
+
+	cache, err := New(30 * time.Second)
+	if err != nil {
+		t.Fatal(err)
+	}
+
+	if err := cache.Set("foo", "bar"); err != nil {
+		t.Fatal(err)
+	}
+	if got, hit := cache.Lookup("foo"); got == nil || !hit {
+		t.Fatalf("lookup failed got %#v", got)
+	}
+
+	cache.Clear()
+
+	if got, _ := cache.Lookup("foo"); got != nil {
+		t.Fatalf("lookup failed expected nil got %#v", got)
+	}
+}
+
 func TestWriteThruCache(t *testing.T) {
 	t.Parallel()
Repository: google/exposure-notifications-server
Pull request #1543 (2021-08-05 18:31:26)

add IsEmpty util method
## Proposed Changes

* add utility method `IsEmpty` on stats day

**Release Note**


```release-note
none
```


Patch:
diff --git a/pkg/api/v1/stats_types.go b/pkg/api/v1/stats_types.go
index ae6b9df..5ddc9d3 100644
--- a/pkg/api/v1/stats_types.go
+++ b/pkg/api/v1/stats_types.go
@@ -84,6 +84,18 @@ type StatsDay struct {
 	RequestsMissingOnsetDate int64 `json:"requests_missing_onset_date"`
 }
 
+func (s *StatsDay) IsEmpty() bool {
+	if s == nil {
+		return true
+	}
+
+	if s.PublishRequests.Total() > 0 {
+		return false
+	}
+
+	return true
+}
+
 // PublishRequests is a summary of one day's publish requests by platform.
 type PublishRequests struct {
 	UnknownPlatform int64 `json:"unknown"`


Test patch:
diff --git a/pkg/api/v1/stats_types_test.go b/pkg/api/v1/stats_types_test.go
index 5896081..c4676b5 100644
--- a/pkg/api/v1/stats_types_test.go
+++ b/pkg/api/v1/stats_types_test.go
@@ -34,6 +34,53 @@ func TestTotal(t *testing.T) {
 	}
 }
 
+func TestIsEmpty(t *testing.T) {
+	t.Parallel()
+
+	cases := []struct {
+		name  string
+		stats *StatsDay
+		empty bool
+	}{
+		{
+			name:  "nil",
+			stats: nil,
+			empty: true,
+		},
+		{
+			name: "has_data",
+			stats: &StatsDay{
+				Day: time.Now(),
+				PublishRequests: PublishRequests{
+					UnknownPlatform: 0,
+					Android:         1,
+					IOS:             1,
+				},
+			},
+			empty: false,
+		},
+		{
+			name: "empty_day",
+			stats: &StatsDay{
+				Day:             time.Now(),
+				PublishRequests: PublishRequests{},
+			},
+			empty: true,
+		},
+	}
+
+	for _, tc := range cases {
+		tc := tc
+
+		t.Run(tc.name, func(t *testing.T) {
+			t.Parallel()
+			if diff := cmp.Diff(tc.stats.IsEmpty(), tc.empty); diff != "" {
+				t.Errorf("bad csv (+got, -want): %s", diff)
+			}
+		})
+	}
+}
+
 func TestStatsDays_MarshalCSV(t *testing.T) {
 	t.Parallel()
Repository: lindell/multi-gitter
Pull request #53 (2021-01-16 09:12:45)

fix: multi-gitter does now only fetch the base and head branch


Patch:
diff --git a/internal/git/git.go b/internal/git/git.go
index 3465c29..14d172d 100755
--- a/internal/git/git.go
+++ b/internal/git/git.go
@@ -6,6 +6,7 @@ import (
 	"net/url"
 	"time"
 
+	"github.com/go-git/go-git/v5/config"
 	"github.com/go-git/go-git/v5/plumbing/object"
 	"github.com/lindell/multi-gitter/internal/domain"
 	"github.com/pkg/errors"
@@ -24,8 +25,10 @@ type Git struct {
 	repo *git.Repository // The repository after the clone has been made
 }
 
+const fetchDepth = 10
+
 // Clone a repository
-func (g *Git) Clone(branchName string) error {
+func (g *Git) Clone(baseName, headName string) error {
 	u, err := url.Parse(g.Repo)
 	if err != nil {
 		return err
@@ -34,12 +37,28 @@ func (g *Git) Clone(branchName string) error {
 	r, err := git.PlainClone(g.Directory, false, &git.CloneOptions{
 		URL:           u.String(),
 		RemoteName:    "origin",
-		Depth:         10,
-		ReferenceName: plumbing.NewBranchReferenceName(branchName),
+		Depth:         fetchDepth,
+		ReferenceName: plumbing.NewBranchReferenceName(baseName),
+		SingleBranch:  true,
 	})
 	if err != nil {
 		return errors.Wrap(err, "could not clone from the remote")
 	}
+
+	if headName != "" {
+		err = r.Fetch(&git.FetchOptions{
+			RefSpecs: []config.RefSpec{
+				config.RefSpec(fmt.Sprintf("refs/heads/%s:refs/remotes/origin/%s", headName, headName)),
+			},
+			Depth: fetchDepth,
+		})
+		if err != nil {
+			if _, ok := err.(git.NoMatchingRefSpecError); !ok {
+				return err
+			}
+		}
+	}
+
 	g.repo = r
 
 	return nil
diff --git a/internal/multigitter/print.go b/internal/multigitter/print.go
index 5739dd7..3d66ed0 100755
--- a/internal/multigitter/print.go
+++ b/internal/multigitter/print.go
@@ -81,7 +81,7 @@ func (r Printer) runSingleRepo(ctx context.Context, repo domain.Repository) erro
 		Repo:      repo.URL(r.Token),
 	}
 
-	err = sourceController.Clone(repo.DefaultBranch())
+	err = sourceController.Clone(repo.DefaultBranch(), "")
 	if err != nil {
 		return err
 	}
diff --git a/internal/multigitter/run.go b/internal/multigitter/run.go
index e863637..42a44a1 100755
--- a/internal/multigitter/run.go
+++ b/internal/multigitter/run.go
@@ -135,7 +135,7 @@ func (r Runner) runSingleRepo(ctx context.Context, repo domain.Repository) error
 		baseBranch = repo.DefaultBranch()
 	}
 
-	err = sourceController.Clone(baseBranch)
+	err = sourceController.Clone(baseBranch, r.FeatureBranch)
 	if err != nil {
 		return err
 	}


Test patch:
diff --git a/tests/table_test.go b/tests/table_test.go
index 2b6d6ae..0dbf50d 100644
--- a/tests/table_test.go
+++ b/tests/table_test.go
@@ -113,7 +113,7 @@ func TestTable(t *testing.T) {
 			},
 			verify: func(t *testing.T, vcMock *vcmock.VersionController, runData runData) {
 				require.Len(t, vcMock.PullRequests, 0)
-				assert.Contains(t, runData.logOut, `msg="could not clone from the remote: reference not found"`)
+				assert.Contains(t, runData.logOut, `msg="could not clone from the remote: couldn't find remote ref \"refs/heads/custom-base-branch\""`)
 			},
 		},
Repository: lindell/multi-gitter
Pull request #226 (2022-01-29 08:23:53)

fix: better logs when repositories are not used due to permissions
Related to: #223, #224 


Patch:
diff --git a/internal/multigitter/run.go b/internal/multigitter/run.go
index b9759be..090bbab 100755
--- a/internal/multigitter/run.go
+++ b/internal/multigitter/run.go
@@ -95,6 +95,11 @@ func (r *Runner) Run(ctx context.Context) error {
 
 	repos = filterRepositories(repos, r.SkipRepository)
 
+	if len(repos) == 0 {
+		log.Infof("No repositories found. Please make sure the user of the token has the correct access to the repos you want to change.")
+		return nil
+	}
+
 	// Setting up a "counter" that keeps track of successful and failed runs
 	rc := repocounter.NewCounter()
 	defer func() {
diff --git a/internal/scm/github/github.go b/internal/scm/github/github.go
index c53ecb2..959e621 100755
--- a/internal/scm/github/github.go
+++ b/internal/scm/github/github.go
@@ -122,13 +122,23 @@ func (g *Github) GetRepositories(ctx context.Context) ([]scm.Repository, error)
 
 	repos := make([]scm.Repository, 0, len(allRepos))
 	for _, r := range allRepos {
+		log := log.WithField("repo", r.GetFullName())
 		permissions := r.GetPermissions()
 
-		if r.GetArchived() || r.GetDisabled() || !permissions["pull"] {
+		// Check if it's even meaningful to run on this repository or if it will just error
+		// when trying to do other actions
+		switch {
+		case r.GetArchived():
+			log.Debug("Skipping repository since it's archived")
 			continue
-		}
-		// The user needs push permissions or have defined that the pr should be on a fork
-		if !g.Fork && !permissions["push"] {
+		case r.GetDisabled():
+			log.Debug("Skipping repository since it's disabled")
+			continue
+		case !permissions["pull"]:
+			log.Debug("Skipping repository since the token does not have pull permissions")
+			continue
+		case !g.Fork && !permissions["push"]:
+			log.Debug("Skipping repository since the token does not have push permissions and the run will not fork")
 			continue
 		}
 


Test patch:
diff --git a/tests/table_test.go b/tests/table_test.go
index 1b0d2b7..fb3e861 100644
--- a/tests/table_test.go
+++ b/tests/table_test.go
@@ -832,6 +832,28 @@ Repositories with a successful run:
 				assert.Equal(t, "with more info\nand even more", vcMock.PullRequests[0].Body)
 			},
 		},
+
+		{
+			name: "multi line message body",
+			vcCreate: func(t *testing.T) *vcmock.VersionController {
+				return &vcmock.VersionController{
+					Repositories: []vcmock.Repository{},
+				}
+			},
+			args: []string{
+				"run",
+				"--author-name", "Test Author",
+				"--author-email", "test@example.com",
+				"-B", "custom-branch-name",
+				"-m", "custom message",
+				changerBinaryPath,
+			},
+			verify: func(t *testing.T, vcMock *vcmock.VersionController, runData runData) {
+				require.Len(t, vcMock.PullRequests, 0)
+				assert.NotContains(t, runData.logOut, "Running on")
+				assert.Contains(t, runData.logOut, "No repositories found")
+			},
+		},
 	}
 
 	for _, gitBackend := range gitBackends {