Skip to content

Commit

Permalink
fix: empty commit for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Filipe Forattini committed Jul 8, 2022
1 parent 3c63e57 commit 0806065
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

This is a personal work in progress. Keep in mind your suggestions are welcome! :)

These workflows are highly opinionated **auto-helm** upgrade or **k8s-apply** pipelines.
These workflows are highly opinionated **auto-helm** upgrade or **kubectl-apply** pipelines.

## Introduction

Expand Down
4 changes: 2 additions & 2 deletions src/scrappers/git.class.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ module.exports = class Git extends Scrapper {
const organization = this.context.payload.repository.full_name.split('/')[0]
const branch = this.context.ref.replace('refs/heads/', '')

let firstName, surnames
if (this.context.payload.head_commit.committer) {
let firstName, surnames = []
if (this.context.payload.head_commit) {
[ firstName, ...surnames ] = this.context.payload.head_commit.committer.name.split(' ')
}

Expand Down

0 comments on commit 0806065

Please sign in to comment.