Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
ibakshay committed Feb 9, 2023
1 parent d552edd commit 8b079a8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
8 changes: 7 additions & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1925,7 +1925,13 @@ function updateFile(sha, claFileContent, reactedCommitters) {
content: contentBinary,
branch: input.getBranch()
});
console.log(input.getSignedCommitMessage());
const test = input
.getSignedCommitMessage()
.replace('$contributorName', github_1.context.actor)
.replace('$pullRequestNo', pullRequestNo.toString())
.replace('$owner', github_1.context.issue.owner)
.replace('$repo', github_1.context.issue.repo);
console.log(test);
});
}
exports.updateFile = updateFile;
Expand Down
8 changes: 7 additions & 1 deletion src/persistence/persistence.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,13 @@ export async function updateFile(
content: contentBinary,
branch: input.getBranch()
})
console.log(input.getSignedCommitMessage())
const test = input
.getSignedCommitMessage()
.replace('$contributorName', context.actor)
.replace('$pullRequestNo', pullRequestNo.toString())
.replace('$owner', context.issue.owner)
.replace('$repo', context.issue.repo)
console.log(test)
}

function isRemoteRepoOrOrgConfigured(): boolean {
Expand Down

0 comments on commit 8b079a8

Please sign in to comment.