Skip to content

Commit

Permalink
add cla check (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
solverat authored Nov 15, 2024
1 parent 6d23159 commit 29014b4
Show file tree
Hide file tree
Showing 5 changed files with 81 additions and 3 deletions.
9 changes: 9 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/.github export-ignore
/docs export-ignore
/tests export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/CLA.md export-ignore
/CODE_OF_CONDUCT.md export-ignore
/ISSUE_TEMPLATE.md export-ignore
/PULL_REQUEST_TEMPLATE.md export-ignore
30 changes: 30 additions & 0 deletions .github/workflows/cla-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: CLA Check
on:
issue_comment:
types: [ created ]
pull_request_target:
types: [ opened, closed, synchronize ]

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

jobs:
cla-assistant:
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.GITHUB_TOKEN }}
PERSONAL_ACCESS_TOKEN: ${{ secrets.CLA_ACTION_ACCESS_TOKEN }}
with:
path-to-signatures: 'signatures/version1/cla.json'
path-to-document: 'https://github.com/dachcom-digital/pimcore-news/blob/master/CLA.md'
branch: 'main'
allowlist: bot*
remote-organization-name: 'dachcom-digital'
remote-repository-name: 'cla'
36 changes: 36 additions & 0 deletions CLA.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Contributor License Agreement

The following terms are used throughout this agreement:

- **You** - the person or legal entity including its affiliates asked to accept this agreement. An affiliate is any entity
that controls or is controlled by the legal entity, or is under common control with it.
- **Project** - is an umbrella term that refers to any and all DACHCOM.DIGITAL AG open source projects.
- **Contribution** - any type of work that is submitted to a Project, including any modifications or additions to existing
work.
- **Submitted** - conveyed to a Project via a pull request, commit, issue, or any form of electronic, written, or verbal
communication with DACHCOM.DIGITAL AG, contributors or maintainers.

## 1. Grant of Copyright License.
Subject to the terms and conditions of this agreement, You grant to the Projects’ maintainers, contributors, users and
to DACHCOM.DIGITAL AG 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. Except for this license, You reserve all rights, title, and interest in your contributions.

## 2. Grant of Patent License.
Subject to the terms and conditions of this agreement, You grant to the Projects’ maintainers, contributors, users and
to DACHCOM.DIGITAL AG 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 your contributions,
where such license applies only to those patent claims licensable by you that are necessarily infringed by your
contribution or by combination of your contribution with the project to which this contribution was submitted.

If any entity institutes patent litigation - including cross-claim or counterclaim in a lawsuit - against You alleging
that your contribution or any project it was submitted to constitutes or is responsible for direct or contributory
patent infringement, then any patent licenses granted to that entity under this agreement shall terminate as of the date
such litigation is filed.

## 3. Source of Contribution.
Your contribution is either your original creation, based upon previous work that, to the best of your knowledge, is
covered under an appropriate open source license, and you have the right under that license to submit that work with
modifications, whether created in whole or in part by you, or you have clearly identified the source of the contribution
and any license or other restriction (like related patents, trademarks, and license agreements) of which you are
personally aware.
2 changes: 1 addition & 1 deletion ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@

<!--
- Please fill in this template according to your issue.
- For support request or how-tos, visit https://gitter.im/pimcore/pimcore or https://talk.pimcore.org/
- For support request or how-tos, visit the discussions section.
- Otherwise, replace this comment by the description of your issue.
-->
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,11 @@ Pimcore News Bundle. Generate simple [custom entry types](docs/20_EntryTypes.md)
- [The Amazing Entry Types](./docs/20_EntryTypes.md)
- [Presets](./docs/30_Presets.md) (new!)

## Copyright and license
Copyright: [DACHCOM.DIGITAL](http://dachcom-digital.ch)
## License
**DACHCOM.DIGITAL AG**, Löwenhofstrasse 15, 9424 Rheineck, Schweiz
[dachcom.com](https://www.dachcom.com), [email protected]
Copyright © 2024 DACHCOM.DIGITAL. All rights reserved.

For licensing details please visit [LICENSE.md](LICENSE.md)

## Upgrade Info
Expand Down

0 comments on commit 29014b4

Please sign in to comment.