Skip to content

Commit

Permalink
Merge pull request #27 from cla-assistant/issue-10-fix
Browse files Browse the repository at this point in the history
Issue 10 fix
  • Loading branch information
ibakshay authored Jul 28, 2020
2 parents 88b7011 + 72c266d commit e551e03
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 13 deletions.
3 changes: 0 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ inputs:
blockchain-storage-flag:
description: "Optional functionality to store all the blockchain signatures in the ethirium blockchain as a smart contract"
default: false
label:
description: "Optional functionality to add the label CLA Signed or not signed"
default: false
empty-commit-flag:
description: "GitHub Actions will add empty commit whenever the user signs the CLA (optional)"
default: true
Expand Down
2 changes: 1 addition & 1 deletion lib/main.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/pullRequestComment.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import octokit from './octokit'
import * as core from '@actions/core'
import { pathToCLADocument } from './url'
import { context } from '@actions/github'
import signatureWithPRComment from './signatureComment'
import {
Expand All @@ -21,6 +20,7 @@ async function getComment() {
}

function commentContent(signed: boolean, committerMap: CommitterMap): string {
const pathToCLADocument = core.getInput('path-to-cla-document')

if (signed) {
return `**CLA Assistant Lite** All Contributors have signed the CLA. `
Expand All @@ -31,7 +31,7 @@ function commentContent(signed: boolean, committerMap: CommitterMap): string {
committerMap.signed.length + committerMap.notSigned.length
}
let you = committersCount > 1 ? "you all" : "you"
let text = `**CLA Assistant Lite:** <br/>Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that ${you} sign our [Contributor License Agreement](${pathToCLADocument()}) before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.
let text = `**CLA Assistant Lite:** <br/>Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that ${you} sign our [Contributor License Agreement](${pathToCLADocument}) before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.
- - -
***I have read the CLA Document and I hereby sign the CLA***
- - -
Expand Down
7 changes: 0 additions & 7 deletions src/url.ts

This file was deleted.

0 comments on commit e551e03

Please sign in to comment.