Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Tech] Add cla doc and github action #929

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/workflows/cla.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: 'CLA Assistant'
on:
issue_comment:
types: [created]
pull_request_target:
types: [opened, closed, synchronize]

permissions:
actions: write
contents: write
pull-requests: write
statuses: write

jobs:
CLAAssistant:
runs-on: ubuntu-latest
steps:
- name: 'CLA Assistant'
if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'
uses: contributor-assistant/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
PERSONAL_ACCESS_TOKEN: ${{ secrets.WORKFLOW_TOKEN }}
with:
path-to-signatures: 'signatures/version1/cla.json'
path-to-document: 'https://github.com/HyperPlay-Gaming/hyperplay-desktop-client/blob/main/doc/cla.md'
branch: 'cla_signs'
allowlist: weblate,bot*
create-file-commit-message: '[CLA] Creating file for storing CLA Signatures'
signed-commit-message: '[CLA] $contributorName has signed the CLA'
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
- [Other Distributions (TAR.XZ)](#other-distributions-tarxz)
- [Windows](#windows)
- [macOS](#macos)
- [Contributing](#contributing)
- [Credits](#credits)

## Supported Operating Systems
Expand Down Expand Up @@ -77,6 +78,10 @@ yarn setup
yarn start
```

## Contributing

Also read our [Contribution License Agreement](https://github.com/HyperPlay-Gaming/hyperplay-desktop-client/blob/main/doc/cla.md).

## Credits

### Those Awesome Guys: Gamepad prompts images
Expand Down
30 changes: 30 additions & 0 deletions doc/cla.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
## HYPERPLAY DESKTOP CLIENT

### CONTRIBUTION LICENSE AGREEMENT

This Contribution License Agreement (the “CLA”) is between the individual set forth in the signature block (“You”) and HyperPlay Labs, Inc. (“HyperPlay”), effective as of the date of Your signature and sets forth the terms pursuant to which You may provide Contributions to HyperPlay.
You accept and agree to the following terms and conditions for Your past, present and future Contributions submitted to HyperPlay’s HyperPlay Games Launcher project (the “Project”). In return, HyperPlay will not use Your Contributions in a way that is contrary to HyperPlay’s business objectives. Except for the license granted herein to HyperPlay and recipients of software distributed by HyperPlay, You reserve all right, title, and interest in and to Your Contributions.

1. Definitions. “Contribution” means any original work of authorship, including any modifications or additions to an existing work, that You intentionally submit, or have submitted previously, to HyperPlay for inclusion in, or documentation of, the Project. “Submit” means any form of electronic, verbal, or written communication sent to HyperPlay or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, HyperPlay for the purpose of discussing and improving the Project, but excluding communication that is conspicuously marked or otherwise designated in writing by You as “Not a Contribution.”

2. Copyright License. Subject to the terms and conditions of this CLA, You hereby grant to HyperPlay and to recipients of software distributed by HyperPlay a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Your Contributions and such derivative works.

3. Patent License. Subject to the terms and conditions of this CLA, You hereby grant to HyperPlay and to recipients of software distributed by HyperPlay a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Project, where such license applies only to those patent claims licensable by You that are necessarily infringed by Your Contribution(s) alone or by combination of Your Contribution(s) with the Project to which such Contribution(s) was submitted. If any entity institutes patent litigation against You or any other entity (including a cross-claim or counterclaim in a lawsuit) alleging that Your Contribution, or the Project to which You have contributed, constitutes direct or contributory patent infringement, then any patent licenses granted to that entity under this CLA for that Contribution or Project will terminate as of the date such litigation is filed.

4. Representations and Warranties. You represent and warrant to HyperPlay that:

a. You are legally entitled to grant the above license, and if Your employer(s) has rights to intellectual property that You create that includes Your Contributions, then You represent and warrant that You have received permission to make Contributions on behalf of that employer, that Your employer has waived such rights for Your Contributions to HyperPlay, or that Your employer has executed a separate CLA with HyperPlay;

b. Each of Your Contributions is Your original creation (see section 6 for submissions on behalf of others); and

c. Your Contribution submissions include complete details of any third-party license or other restriction (including, but not limited to, related patents and trademarks) of which You are personally aware and which are associated with any part of Your Contributions.

5. Support; Disclaimer. You are not expected to provide support for Your Contributions, except to the extent You desire to do so. You may provide support for free, for a fee, or not at all. Unless required by applicable law or agreed to in writing, You provide Your Contributions on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON- INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE.

6. Third Party Works. If You wish to submit work that is not Your original creation, then You may submit it to HyperPlay separately from any Contribution, identifying the complete details of its source and of any license or other restriction (including, but not limited to, related patents, trademarks, and license agreements) of which You are personally aware, and conspicuously marking the work as “Submitted on behalf of a third-party: [named here]”.

7. Notice. You agree to notify HyperPlay of any facts or circumstances of which You become aware that would make Your representations in this CLA inaccurate in any respect.

8. General. This CLA is the entire understanding and agreement with respect to the subject matter hereof, and supersedes any and all prior or contemporaneous representations, understandings, and agreements, between the parties regarding same. If any part of this CLA is found to be unenforceable, the remaining portions of this CLA will remain in full force and effect. No modification of or amendment to this CLA, nor any waiver of any rights under this CLA, will be effective unless in writing signed by the party to be charged, and the waiver of any breach or default will not constitute a waiver of any other right under this CLA or any subsequent breach or default. Nothing in this CLA creates and the parties do not intend to create, any partnership or joint venture between themselves. Either party may freely assign this CLA. This CLA is binding upon and will inure to the benefit of a party’s successors and permitted assigns. This CLA will be governed by the laws of the State of Delaware. Exclusive jurisdiction of any and all disputes hereunder will be in the state and federal courts in Wilmington, Delaware. This CLA may be executed in counterparts with the same effect as if all signatories had signed the same document.

---