Skip to content

Commit

Permalink
chore(pkg): fixed github spelling issues.
Browse files Browse the repository at this point in the history
Signed-off-by: Federico Di Pierro <[email protected]>
  • Loading branch information
FedeDP committed Jun 20, 2024
1 parent ad16d86 commit cd46992
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/config/jobs.go
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ func NewGitHubDeferredChangedFilesProvider(gc git.ClientFactory, client githubCl
if len(changes) == github.ChangesFilesLimit && gc != nil {
repoClient, err := gc.ClientFor(org, repo)
if err == nil {
// Use git client since Github PushEvent is limited to 3000 keys:
// Use git client since github PushEvent is limited to 3000 keys:
// https://docs.github.com/en/rest/pulls/pulls?apiVersion=2022-11-28#list-pull-requests-files
files, err := repoClient.Diff(headSHA, baseSHA)
if err == nil {
Expand Down
2 changes: 1 addition & 1 deletion pkg/plugins/trigger/push.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func listPushEventChanges(gc git.ClientFactory, pe github.PushEvent) config.Chan
if len(changes) == github.ChangesFilesLimit && gc != nil {
repoClient, err := gc.ClientFor(pe.Repo.Owner.Name, pe.Repo.Name)
if err == nil {
// Use git client since Github PushEvent is limited to 3000 keys:
// Use git client since github PushEvent is limited to 3000 keys:
// https://docs.github.com/en/rest/pulls/pulls?apiVersion=2022-11-28#list-pull-requests-files
files, err := repoClient.Diff(pe.After, pe.Before)
if err == nil {
Expand Down

0 comments on commit cd46992

Please sign in to comment.