Skip to content

Commit f9ddd5c

Browse files
committed
contrib: add CLA signature process
1 parent 5b5d28f commit f9ddd5c

3 files changed

Lines changed: 132 additions & 0 deletions

File tree

.github/workflows/cla.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: "CLA Assistant"
2+
on:
3+
issue_comment:
4+
types: [created]
5+
pull_request_target:
6+
types: [opened,closed,synchronize]
7+
8+
permissions:
9+
actions: write
10+
contents: read
11+
pull-requests: write
12+
statuses: write
13+
14+
jobs:
15+
CLAAssistant:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: "CLA Assistant"
19+
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'
20+
uses: contributor-assistant/github-action@v2.6.1
21+
env:
22+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23+
PERSONAL_ACCESS_TOKEN: ${{ secrets.CLA_GH_PAT }}
24+
with:
25+
path-to-signatures: 'signatures/browser/version1/cla.json'
26+
path-to-document: 'https://github.com/lightpanda-io/browser/blob/main/CLA.md'
27+
# branch should not be protected
28+
branch: 'main'
29+
allowlist: krichprollsch,francisbouvier
30+
31+
remote-organization-name: lightpanda-io
32+
remote-repository-name: cla

CLA.md

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
# Lightpanda (Selecy SAS) Grant and Contributor License Agreement (“Agreement”)
2+
3+
This agreement is based on the Apache Software Foundation Contributor License
4+
Agreement. (v r190612)
5+
6+
Thank you for your interest in software projects stewarded by Lightpanda
7+
(Selecy SAS) (“Lightpanda”). In order to clarify the intellectual property
8+
license granted with Contributions from any person or entity, Lightpanda must
9+
have a Contributor License Agreement (CLA) on file that has been agreed to by
10+
each Contributor, indicating agreement to the license terms below. This license
11+
is for your protection as a Contributor as well as the protection of Lightpanda
12+
and its users; it does not change your rights to use your own Contributions for
13+
any other purpose. This Agreement allows an individual to contribute to
14+
Lightpanda on that individual’s own behalf, or an entity (the “Corporation”) to
15+
submit Contributions to Lightpanda, to authorize Contributions submitted by its
16+
designated employees to Lightpanda, and to grant copyright and patent licenses
17+
thereto.
18+
19+
You accept and agree to the following terms and conditions for Your present and
20+
future Contributions submitted to Lightpanda. Except for the license granted
21+
herein to Lightpanda and recipients of software distributed by Lightpanda, You
22+
reserve all right, title, and interest in and to Your Contributions.
23+
24+
1. Definitions. “You” (or “Your”) shall mean the copyright owner or legal
25+
entity authorized by the copyright owner that is making this Agreement with
26+
Lightpanda. For legal entities, the entity making a Contribution and all
27+
other entities that control, are controlled by, or are under common control
28+
with that entity are considered to be a single Contributor. For the purposes
29+
of this definition, “control” means (i) the power, direct or indirect, to
30+
cause the direction or management of such entity, whether by contract or
31+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
32+
outstanding shares, or (iii) beneficial ownership of such entity.
33+
“Contribution” shall mean any work, as well as any modifications or
34+
additions to an existing work, that is intentionally submitted by You to
35+
Lightpanda for inclusion in, or documentation of, any of the products owned
36+
or managed by Lightpanda (the “Work”). For the purposes of this definition,
37+
“submitted” means any form of electronic, verbal, or written communication
38+
sent to Lightpanda or its representatives, including but not limited to
39+
communication on electronic mailing lists, source code control systems (such
40+
as GitHub), and issue tracking systems that are managed by, or on behalf of,
41+
Lightpanda for the purpose of discussing and improving the Work, but
42+
excluding communication that is conspicuously marked or otherwise designated
43+
in writing by You as “Not a Contribution.”
44+
45+
2. Grant of Copyright License. Subject to the terms and conditions of this
46+
Agreement, You hereby grant to Lightpanda and to recipients of software
47+
distributed by Lightpanda a perpetual, worldwide, non-exclusive, no-charge,
48+
royalty-free, irrevocable copyright license to reproduce, prepare derivative
49+
works of, publicly display, publicly perform, sublicense, and distribute
50+
Your Contributions and such derivative works.
51+
52+
3. Grant of Patent License. Subject to the terms and conditions of this
53+
Agreement, You hereby grant to Lightpanda and to recipients of software
54+
distributed by Lightpanda a perpetual, worldwide, non-exclusive, no-charge,
55+
royalty-free, irrevocable (except as stated in this section) patent license
56+
to make, have made, use, offer to sell, sell, import, and otherwise transfer
57+
the Work, where such license applies only to those patent claims licensable
58+
by You that are necessarily infringed by Your Contribution(s) alone or by
59+
combination of Your Contribution(s) with the Work to which such
60+
Contribution(s) were submitted. If any entity institutes patent litigation
61+
against You or any other entity (including a cross-claim or counterclaim in
62+
a lawsuit) alleging that your Contribution, or the Work to which you have
63+
contributed, constitutes direct or contributory patent infringement, then
64+
any patent licenses granted to that entity under this Agreement for that
65+
Contribution or Work shall terminate as of the date such litigation is
66+
filed.
67+
68+
4. You represent that You are legally entitled to grant the above license. If
69+
You are an individual, and if Your employer(s) has rights to intellectual
70+
property that you create that includes Your Contributions, you represent
71+
that You have received permission to make Contributions on behalf of that
72+
employer, or that Your employer has waived such rights for your
73+
Contributions to Lightpanda. If You are a Corporation, any individual who
74+
makes a contribution from an account associated with You will be considered
75+
authorized to Contribute on Your behalf.
76+
77+
5. You represent that each of Your Contributions is Your original creation (see
78+
section 7 for submissions on behalf of others).
79+
80+
6. You are not expected to provide support for Your Contributions,except to the
81+
extent You desire to provide support. You may provide support for free, for
82+
a fee, or not at all. Unless required by applicable law or agreed to in
83+
writing, You provide Your Contributions on an “AS IS” BASIS, WITHOUT
84+
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including,
85+
without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT,
86+
MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE.
87+
88+
7. Should You wish to submit work that is not Your original creation, You may
89+
submit it to Lightpanda separately from any Contribution, identifying the
90+
complete details of its source and of any license or other restriction
91+
(including, but not limited to, related patents, trademarks, and license
92+
agreements) of which you are personally aware, and conspicuously marking the
93+
work as “Submitted on behalf of a third-party: [named here]”.

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,3 +196,10 @@ To add a new test, copy the file you want from the [WPT
196196
repo](https://github.com/web-platform-tests/wpt) into the `tests/wpt` directory.
197197

198198
:warning: Please keep the original directory tree structure of `tests/wpt`.
199+
200+
## Contributing
201+
202+
Lightpanda accepts pull requests through GitHub.
203+
204+
You have to sign our [CLA](CLA.md) during the pull request process otherwise
205+
we're not able to accept your contributions.

0 commit comments

Comments
 (0)