Skip to content

Commit

Permalink
Feature/add copyright notice (#35)
Browse files Browse the repository at this point in the history
* Add Copyright Notice

* Added to top of Dockerfile.
* Added brief copyright notice to bottom of .md files

Other:
* Added GITLEAKS LLC's pronouns to COMMERCIAL-LICENSE.txt

* * Added to top of .yml files and entrypoint.js

* * Added line breaks so the full notice can be read without
  horizontal scrolling.

Co-authored-by: Andrew Weiner <[email protected]>
  • Loading branch information
weineran and Andrew Weiner authored May 18, 2022
1 parent 7dd8e9c commit 82bcf3e
Show file tree
Hide file tree
Showing 8 changed files with 30 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/example.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Copyright © 2022 Gitleaks LLC - All Rights Reserved.
# You may use this code under the terms of the GITLEAKS-ACTION END-USER LICENSE AGREEMENT.
# You should have received a copy of the GITLEAKS-ACTION END-USER LICENSE AGREEMENT with this file.
# If not, please visit https://github.com/gitleaks/gitleaks-action/blob/main/COMMERCIAL-LICENSE.txt.

name: gitleaks
on: [pull_request, push, workflow_dispatch]
jobs:
Expand Down
2 changes: 1 addition & 1 deletion COMMERCIAL-LICENSE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ GITLEAKS-ACTION END-USER LICENSE AGREEMENT

------------------------------------------------------------------------------

IMPORTANT: THIS SOFTWARE END-USER LICENSE AGREEMENT ("EULA") IS A LEGAL AGREEMENT (“Agreement”) BETWEEN YOU (THE CUSTOMER, EITHER AS AN INDIVIDUAL OR, IF PURCHASED OR OTHERWISE ACQUIRED BY OR FOR AN ENTITY, AS AN ENTITY) AND GITLEAKS LLC. READ IT CAREFULLY BEFORE USING GITLEAKS-ACTION AND RELATED SOFTWARE COMPONENTS (“SOFTWARE”). IT PROVIDES A LICENSE TO USE THE SOFTWARE AND CONTAINS WARRANTY INFORMATION AND LIABILITY DISCLAIMERS. BY USING THE SOFTWARE, YOU ARE CONFIRMING YOUR ACCEPTANCE OF THE SOFTWARE AND AGREEING TO BECOME BOUND BY THE TERMS OF THIS AGREEMENT.
IMPORTANT: THIS SOFTWARE END-USER LICENSE AGREEMENT ("EULA") IS A LEGAL AGREEMENT (“Agreement”) BETWEEN YOU (THE CUSTOMER, EITHER AS AN INDIVIDUAL OR, IF PURCHASED OR OTHERWISE ACQUIRED BY OR FOR AN ENTITY, AS AN ENTITY) AND GITLEAKS LLC ("We", "Us", "Our"). READ IT CAREFULLY BEFORE USING GITLEAKS-ACTION AND RELATED SOFTWARE COMPONENTS (“SOFTWARE”). IT PROVIDES A LICENSE TO USE THE SOFTWARE AND CONTAINS WARRANTY INFORMATION AND LIABILITY DISCLAIMERS. BY USING THE SOFTWARE, YOU ARE CONFIRMING YOUR ACCEPTANCE OF THE SOFTWARE AND AGREEING TO BECOME BOUND BY THE TERMS OF THIS AGREEMENT.

------------------------------------------------------------------------------

Expand Down
4 changes: 3 additions & 1 deletion DEVELOP.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,6 @@
--secret GITLEAKS_LICENSE="bad license" \
--workflows "./dev/local-action.yml" \
--eventpath "./dev/example-push-event.json"
```
```

_Copyright © 2022 Gitleaks LLC - All Rights Reserved_
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Copyright © 2022 Gitleaks LLC - All Rights Reserved.
# You may use this code under the terms of the GITLEAKS-ACTION END-USER LICENSE AGREEMENT.
# You should have received a copy of the GITLEAKS-ACTION END-USER LICENSE AGREEMENT with this file.
# If not, please visit https://github.com/gitleaks/gitleaks-action/blob/main/COMMERCIAL-LICENSE.txt.

FROM zricethezav/gitleaks:v8.8.4 as gl

FROM node:17.3.0
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,4 @@ you should rotate the secret (and also consider re-writing the git history to re
Enable this **gitleaks-action** and copy
`<img alt="gitleaks badge" src="https://img.shields.io/badge/protected%20by-gitleaks-blue">` to your readme.

_Copyright © 2022 Gitleaks LLC - All Rights Reserved_
5 changes: 5 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Copyright © 2022 Gitleaks LLC - All Rights Reserved.
# You may use this code under the terms of the GITLEAKS-ACTION END-USER LICENSE AGREEMENT.
# You should have received a copy of the GITLEAKS-ACTION END-USER LICENSE AGREEMENT with this file.
# If not, please visit https://github.com/gitleaks/gitleaks-action/blob/main/COMMERCIAL-LICENSE.txt.

name: gitleaks-action
author: gitleaks
branding:
Expand Down
5 changes: 5 additions & 0 deletions dev/local-action.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Copyright © 2022 Gitleaks LLC - All Rights Reserved.
# You may use this code under the terms of the GITLEAKS-ACTION END-USER LICENSE AGREEMENT.
# You should have received a copy of the GITLEAKS-ACTION END-USER LICENSE AGREEMENT with this file.
# If not, please visit https://github.com/gitleaks/gitleaks-action/blob/main/COMMERCIAL-LICENSE.txt.

name: gitleaks
on: [pull_request, push]
jobs:
Expand Down
5 changes: 5 additions & 0 deletions entrypoint.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Copyright © 2022 Gitleaks LLC - All Rights Reserved.
// You may use this code under the terms of the GITLEAKS-ACTION END-USER LICENSE AGREEMENT.
// You should have received a copy of the GITLEAKS-ACTION END-USER LICENSE AGREEMENT with this file.
// If not, please visit https://github.com/gitleaks/gitleaks-action/blob/main/COMMERCIAL-LICENSE.txt.

const { Octokit } = require("@octokit/rest");
const octokit = new Octokit({
auth: process.env.GITHUB_TOKEN,
Expand Down

0 comments on commit 82bcf3e

Please sign in to comment.