Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
33 changes: 33 additions & 0 deletions .github/workflows/cla.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# CLA Assistant Lite: asks first-time contributors to sign CLA.md on their pull
# request and records signatures on the cla-signatures branch.
name: CLA

on:
issue_comment:
types: [created]
pull_request_target:
types: [opened, closed, synchronize]

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

jobs:
cla:
runs-on: ubuntu-latest
if: >-
github.event_name == 'pull_request_target' ||
(github.event.issue.pull_request &&
(github.event.comment.body == 'recheck' ||
github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA'))
steps:
- uses: contributor-assistant/github-action@ca4a40a7d1004f18d9960b404b97e5f30a505a08 # v2.6.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
path-to-document: https://github.com/pzfreo/draftwright/blob/main/CLA.md
path-to-signatures: signatures/cla.json
branch: cla-signatures
allowlist: pzfreo,dependabot[bot],github-actions[bot],claude[bot]
13 changes: 9 additions & 4 deletions CLA.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,15 @@ become aware that would make these representations inaccurate in any respect.

## How to accept

By submitting a pull request, patch, or other Contribution to draftwright, You
indicate Your agreement to this Contributor License Agreement for that and all
future Contributions, unless You state otherwise in writing at the time of
submission.
The first time You open a pull request, a bot asks You to accept this Agreement
by replying on the pull request with:

> I have read the CLA Document and I hereby sign the CLA

Your signature is recorded once and covers that and all future Contributions.
By submitting any other Contribution (a patch, an issue with code, or
correspondence) You also indicate Your agreement, unless You state otherwise in
writing at the time of submission.

If You are contributing on behalf of an organisation that wishes to record its
agreement explicitly, or if You need an entity-level CLA covering employees,
Expand Down
8 changes: 6 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,12 @@ releases, all contributors must agree to the
[Contributor License Agreement (CLA.md)](CLA.md).

You keep the copyright to your work — the CLA grants a licence, not an
assignment. **By opening a pull request you indicate your agreement to the CLA**
for that and all future contributions. Please read it before submitting.
assignment. On your first pull request a bot asks you to sign by replying:

> I have read the CLA Document and I hereby sign the CLA

Your signature covers that and all future contributions, and pull requests cannot
merge until it is recorded. Please read the CLA before submitting.

## Development

Expand Down
Loading