Skip to content
This repository was archived by the owner on Jun 28, 2022. It is now read-only.

Commit

Permalink
fix: issue #35 (#36)
Browse files Browse the repository at this point in the history
* fix: issue #34 cloudfront default root object

* test: update tests

* fix: remove PR title which sometimes raise error because of the name

* chore: update version
  • Loading branch information
arantespp authored Dec 9, 2021
1 parent a9f0f9d commit 4386ad0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "carlin",
"version": "0.19.9",
"version": "0.19.11",
"description": "",
"main": "dist/index.js",
"scripts": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,14 @@ webhooks.on(
return;
}

console.log([
{ key: 'Pipeline', value: 'pr' },
{ key: 'PullRequest', value: payload.number.toString() },
{ key: 'PullRequestUrl', value: payload.pull_request.url },
{ key: 'Action', value: payload.action },
{ key: 'Branch', value: payload.pull_request.head.ref },
]);

await executeTasks({
commands: [
shConditionalCommands({
Expand All @@ -93,7 +101,6 @@ webhooks.on(
tags: [
{ key: 'Pipeline', value: 'pr' },
{ key: 'PullRequest', value: payload.number.toString() },
{ key: 'PullRequestTitle', value: payload.pull_request.title },
{ key: 'PullRequestUrl', value: payload.pull_request.url },
{ key: 'Action', value: payload.action },
{ key: 'Branch', value: payload.pull_request.head.ref },
Expand Down

0 comments on commit 4386ad0

Please sign in to comment.