Skip to content

Commit 6579c26

Browse files
authored
Add CLA and bots (#1)
1 parent b26d48c commit 6579c26

File tree

3 files changed

+62
-0
lines changed

3 files changed

+62
-0
lines changed

.github/workflows/cla.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: "CLA Assistant"
2+
'on':
3+
issue_comment:
4+
types: [created]
5+
pull_request_target:
6+
types: [opened, closed, synchronize]
7+
8+
jobs:
9+
CLAssistant:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: "CLA Assistant"
13+
if: startsWith(github.event.comment.body, 'I hereby agree to the terms
14+
of the CLA available at') || github.event_name == 'pull_request_target'
15+
uses: cla-assistant/github-action@v2.3.0
16+
env:
17+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18+
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
19+
with:
20+
path-to-signatures: ' realmedium_sample.json'
21+
path-to-document: 'https://github.com/userver-framework/realmedium_sample/blob/develop/CONTRIBUTING.md'
22+
branch: 'develop'
23+
remote-organization-name: userver-framework
24+
remote-repository-name: CLAs
25+
custom-pr-sign-comment: 'I hereby agree to the terms of the CLA available
26+
at: https://yandex.ru/legal/cla/'

CODE_OF_CONDUCT.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
We welcome everyone to contribute to our product, see CONTRIBUTING.md.

CONTRIBUTING.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Notice to external contributors
2+
3+
4+
## General info
5+
6+
Hello! In order for us (YANDEX LLC) to accept patches and other contributions from you, you will have to adopt our Yandex Contributor License Agreement (the **CLA**). The current version of the CLA can be found here:
7+
1) https://yandex.ru/legal/cla/?lang=en (in English) and
8+
2) https://yandex.ru/legal/cla/?lang=ru (in Russian).
9+
10+
By adopting the CLA, you state the following:
11+
12+
* You obviously wish and are willingly licensing your contributions to us for our open source projects under the terms of the CLA,
13+
* You have read the terms and conditions of the CLA and agree with them in full,
14+
* You are legally able to provide and license your contributions as stated,
15+
* We may use your contributions for our open source projects and for any other our project too,
16+
* We rely on your assurances concerning the rights of third parties in relation to your contributions.
17+
18+
If you agree with these principles, please read and adopt our CLA. By providing us your contributions, you hereby declare that you have already read and adopt our CLA, and we may freely merge your contributions with our corresponding open source project and use it in further in accordance with terms and conditions of the CLA.
19+
20+
## Provide contributions
21+
22+
If you have already adopted terms and conditions of the CLA, you are able to provide your contributions. When you submit your pull request, please add the following information into it:
23+
24+
```
25+
I hereby agree to the terms of the CLA available at: [link].
26+
```
27+
28+
Replace the bracketed text as follows:
29+
* [link] is the link to the current version of the CLA: https://yandex.ru/legal/cla/, https://yandex.ru/legal/cla/?lang=en (in English) or https://yandex.ru/legal/cla/?lang=ru (in Russian).
30+
31+
It is enough to provide us such notification once.
32+
33+
## Other questions
34+
35+
If you have any questions, please mail us at opensource@yandex-team.ru.

0 commit comments

Comments
 (0)