Skip to content

Commit

Permalink
Adding CLA assistant
Browse files Browse the repository at this point in the history
  • Loading branch information
macumber committed May 2, 2023
1 parent 2bf49ab commit 6a84184
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/cla.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: "CLA Assistant"
on:
issue_comment:
types: [created]
pull_request_target:
types: [opened,closed,synchronize]

jobs:
CLAssistant:
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'
# Beta Release
uses: cla-assistant/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# the below token should have repo scope and must be manually added by you in the repository's secret
PERSONAL_ACCESS_TOKEN : ${{ secrets.CLA_SECRET }}
with:
path-to-signatures: 'signatures/version1/cla.json'
path-to-document: 'CLA.md'
# branch should not be protected
branch: 'develop'
allowlist:

#below are the optional inputs - If the optional inputs are not given, then default values will be taken
#remote-organization-name: enter the remote organization name where the signatures should be stored (Default is storing the signatures in the same repository)
#remote-repository-name: enter the remote repository name where the signatures should be stored (Default is storing the signatures in the same repository)
#create-file-commit-message: 'For example: Creating file for storing CLA Signatures'
#signed-commit-message: 'For example: $contributorName has signed the CLA in #$pullRequestNo'
#custom-notsigned-prcomment: 'pull request comment with Introductory message to ask new contributors to sign'
#custom-pr-sign-comment: 'The signature to be committed in order to sign the CLA'
#custom-allsigned-prcomment: 'pull request comment when all contributors has signed, defaults to **CLA Assistant Lite bot** All Contributors have signed the CLA.'
#lock-pullrequest-aftermerge: false - if you don't want this bot to automatically lock the pull request after merging (default - true)
#use-dco-flag: true - If you are using DCO instead of CLA
6 changes: 6 additions & 0 deletions CLA.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
I agree to contribute to the OpenStudio SketchUp Plug-in. I agree to the following terms and conditions for my contributions:

- First, I agree that I am licensing the copyright to my contributions under the terms of the current OpenStudio SketchUp Plug-in license.
- Second, I agree that, in order to conform to any future open source software license(s) under which the OpenStudio SketchUp Plug-in may be provided, the terms of my copyright license may be modified without any notice to me and without my consent.
- Third, I hereby grant to the OpenStudio Coalition, to any successor manager and distributor of the OpenStudio SketchUp Plug-in, and to all recipients of a version of the OpenStudio SketchUp Plug-in that includes my contributions, a non-exclusive, worldwide, royalty-free, irrevocable patent license under any patent claims owned by me, or owned by my employer and known to me, that are or will be, necessarily infringed upon by my contributions alone, or by combination of my contributions with the version of the OpenStudio SketchUp Plug-in to which they are contributed, to make, have made, use, offer to sell, sell, import, and otherwise transfer any version of the OpenStudio SketchUp Plug-in that includes my contributions, in source code and object code form.
- Fourth, I represent and warrant that I am authorized to make the contributions and grant the foregoing license(s). Additionally, if, to my knowledge, my employer has rights to intellectual property that covers my contributions, I represent and warrant that I have received permission to make these contributions and grant the foregoing license(s) on behalf of my employer.

0 comments on commit 6a84184

Please sign in to comment.