diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yml new file mode 100644 index 00000000..64dd7484 --- /dev/null +++ b/.github/workflows/cla.yml @@ -0,0 +1,32 @@ +name: "CLA Assistant" +on: + issue_comment: + types: [created] + pull_request_target: + types: [opened,closed,synchronize] + +permissions: + actions: write + contents: read + 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/github-action@v2.6.1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + PERSONAL_ACCESS_TOKEN: ${{ secrets.CLA_GH_PAT }} + with: + path-to-signatures: 'signatures/browser/version1/cla.json' + path-to-document: 'https://github.com/lightpanda-io/browser/blob/main/CLA.md' + # branch should not be protected + branch: 'main' + allowlist: krichprollsch,francisbouvier + + remote-organization-name: lightpanda-io + remote-repository-name: cla diff --git a/CLA.md b/CLA.md new file mode 100644 index 00000000..36a4973b --- /dev/null +++ b/CLA.md @@ -0,0 +1,93 @@ +# Lightpanda (Selecy SAS) Grant and Contributor License Agreement (“Agreement”) + +This agreement is based on the Apache Software Foundation Contributor License +Agreement. (v r190612) + +Thank you for your interest in software projects stewarded by Lightpanda +(Selecy SAS) (“Lightpanda”). In order to clarify the intellectual property +license granted with Contributions from any person or entity, Lightpanda must +have a Contributor License Agreement (CLA) on file that has been agreed to by +each Contributor, indicating agreement to the license terms below. This license +is for your protection as a Contributor as well as the protection of Lightpanda +and its users; it does not change your rights to use your own Contributions for +any other purpose. This Agreement allows an individual to contribute to +Lightpanda on that individual’s own behalf, or an entity (the “Corporation”) to +submit Contributions to Lightpanda, to authorize Contributions submitted by its +designated employees to Lightpanda, and to grant copyright and patent licenses +thereto. + +You accept and agree to the following terms and conditions for Your present and +future Contributions submitted to Lightpanda. Except for the license granted +herein to Lightpanda and recipients of software distributed by Lightpanda, You +reserve all right, title, and interest in and to Your Contributions. + +1. Definitions. “You” (or “Your”) shall mean the copyright owner or legal + entity authorized by the copyright owner that is making this Agreement with + Lightpanda. For legal entities, the entity making a Contribution and all + other entities that control, are controlled by, or are under common control + with that entity are considered to be a single Contributor. For the purposes + of this definition, “control” means (i) the power, direct or indirect, to + cause the direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + “Contribution” shall mean any work, as well as any modifications or + additions to an existing work, that is intentionally submitted by You to + Lightpanda for inclusion in, or documentation of, any of the products owned + or managed by Lightpanda (the “Work”). For the purposes of this definition, + “submitted” means any form of electronic, verbal, or written communication + sent to Lightpanda or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems (such + as GitHub), and issue tracking systems that are managed by, or on behalf of, + Lightpanda for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise designated + in writing by You as “Not a Contribution.” + +2. Grant of Copyright License. Subject to the terms and conditions of this + Agreement, You hereby grant to Lightpanda and to recipients of software + distributed by Lightpanda 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. Grant of Patent License. Subject to the terms and conditions of this + Agreement, You hereby grant to Lightpanda and to recipients of software + distributed by Lightpanda 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 Work, 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 Work to which such + Contribution(s) were 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 Work to which you have + contributed, constitutes direct or contributory patent infringement, then + any patent licenses granted to that entity under this Agreement for that + Contribution or Work shall terminate as of the date such litigation is + filed. + +4. You represent that You are legally entitled to grant the above license. If + You are an individual, and if Your employer(s) has rights to intellectual + property that you create that includes Your Contributions, you represent + that You have received permission to make Contributions on behalf of that + employer, or that Your employer has waived such rights for your + Contributions to Lightpanda. If You are a Corporation, any individual who + makes a contribution from an account associated with You will be considered + authorized to Contribute on Your behalf. + +5. You represent that each of Your Contributions is Your original creation (see + section 7 for submissions on behalf of others). + +6. You are not expected to provide support for Your Contributions,except to the + extent You desire to provide support. 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. + +7. Should You wish to submit work that is not Your original creation, You may + submit it to Lightpanda 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]”. diff --git a/README.md b/README.md index 07214af2..25d01a23 100644 --- a/README.md +++ b/README.md @@ -196,3 +196,10 @@ To add a new test, copy the file you want from the [WPT repo](https://github.com/web-platform-tests/wpt) into the `tests/wpt` directory. :warning: Please keep the original directory tree structure of `tests/wpt`. + +## Contributing + +Lightpanda accepts pull requests through GitHub. + +You have to sign our [CLA](CLA.md) during the pull request process otherwise +we're not able to accept your contributions.