From 874435cebea1884a99d57a476d601a93b3e8969c Mon Sep 17 00:00:00 2001 From: dblock Date: Fri, 11 Feb 2022 12:15:08 -0500 Subject: [PATCH 1/2] Added license file and copyright notice. Signed-off-by: dblock --- LICENSE.txt | 15 +++++++++++++++ README.md | 8 +++++++- 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 LICENSE.txt diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..ad68782 --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,15 @@ +ISC License + +Copyright (c) Tim Zhang and Contributors + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. \ No newline at end of file diff --git a/README.md b/README.md index 4f80265..72fd95c 100644 --- a/README.md +++ b/README.md @@ -3,9 +3,10 @@ A GitHub Action that verifies commits in pull-request all include Developer Certificate of Origin (DCO) information ## Usage + Add .github/workflows/sanity-check.yml with the following: -``` +```yaml name: Sanity check on: [pull_request] @@ -24,3 +25,8 @@ jobs: with: commits: ${{ steps.get-pr-commits.outputs.commits }} ``` +## Copyright and License + +Copyright Tim Zhang and Contributors. + +ICS license, see [LICENSE.txt](LICENSE.txt) for details. From b27dbadeb3b29ec6988349ccc8616d09c2726d74 Mon Sep 17 00:00:00 2001 From: dblock Date: Fri, 11 Feb 2022 12:17:20 -0500 Subject: [PATCH 2/2] Added Tim as author into package.json. Signed-off-by: dblock --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 4fc9a31..9b6792e 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, - "author": "", + "author": "Tim Zhang ", "license": "ISC", "dependencies": { "@actions/core": "^1.2.3",