Skip to content
Draft
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
41 changes: 41 additions & 0 deletions .github/workflows/cla.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: "CLA Assistant"
on:
issue_comment:
types: [created]
pull_request_target:
types: [opened, closed, synchronize, ready_for_review]

# Explicit write permissions so the action can commit signatures and set statuses
permissions:
actions: write
contents: write
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/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
# JSON file committed by the action; do not pre-create this file
path-to-signatures: 'signatures/version1/cla.json'
# Full GitHub blob URL to CLA.md committed in this repository (required)
path-to-document: 'https://github.com/safeinsights/management-app/blob/main/CLA.md'
# Branch that stores the signatures file; MUST NOT be protected
branch: 'main'
# Exempt known users/bots from signing (optional)
allowlist: 'dependabot[bot],bot*'
# Optional customizations (uncomment to use)
# create-file-commit-message: 'Create CLA signatures file'
# signed-commit-message: '$contributorName has signed the CLA in $owner/$repo#$pullRequestNo'
# custom-notsigned-prcomment: 'Please read and sign our CLA by replying with the signature phrase.'
# custom-pr-sign-comment: 'I have read the CLA Document and I hereby sign the CLA'
# custom-allsigned-prcomment: 'All contributors have signed the CLA.'
# lock-pullrequest-aftermerge: true
# suggest-recheck: true
# use-dco-flag: false
14 changes: 14 additions & 0 deletions CLA.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Contributor license agreement

## Assignment of Rights

By submitting any contribution to this project, you hereby irrevocably assign,
transfer, and convey to SafeInsights all right, title, and interest in and to
such contribution, including all copyright, patent rights, and other
intellectual property rights therein. You represent and warrant that you have
the legal right and authority to make this assignment, that your contribution is
your original work or properly licensed to you, and that your contribution does
not violate any third-party rights. This assignment covers all contributions you
make to the project, including but not limited to source code, documentation,
bug fixes, enhancements, and any other materials, whether submitted via pull
request, patch, email, or any other method.
Loading