-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add initial config for CLA Assistant GH Action #6318
Closed
+80
−0
Closed
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
668c7bf
Add initial config for CLA Assistant GH Action
mads-hartmann 29d3d20
Use custom message to handle distinction between individuals/company
mads-hartmann b989323
Allowlist employees, bots, previous contributors
mads-hartmann 9c0c71c
Add CLA document
mads-hartmann 712014f
Host CLA from gitpod-io/cla instead
mads-hartmann 9920236
Update .github/workflows/cla.yml
mads-hartmann File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
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' | ||
uses: cla-assistant/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
PERSONAL_ACCESS_TOKEN: ${{ secrets.CLA_ACTION_ACCESS_TOKEN }} | ||
with: | ||
# Where to store the signatures | ||
remote-organization-name: gitpod-io | ||
remote-repository-name: cla | ||
branch: "main" | ||
path-to-signatures: "signatures/v1/cla.json" | ||
# messages for the bot to post | ||
custom-notsigned-prcomment: | | ||
Thank you for your submission, we really appreciate it. | ||
|
||
Like many open-source projects, we ask that you sign our [Contributor License Agreement](https://www.gitpod.io/cla) before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format. | ||
|
||
If you want to contribute on behalf of a company rather than as an individual please leave a comment stating so and we will get in touch. | ||
custom-pr-sign-comment: "I have read the CLA Document and I hereby sign the CLA" | ||
# The following GitHub users don't have to sign the CLA | ||
# - Gitpod employees (https://github.com/orgs/gitpod-io/teams/team-gitpod/members) | ||
# - Bots | ||
# - Anyone who signed the CLA manually prior to the use of CLA Assistant | ||
# Filip Troníček (@filiptronicek) | ||
# Jordan Hailey (@jordanhailey) | ||
# Ofer Shaal (@shaal), | ||
# Pudong Zheng (@iQQBot) | ||
allowlist: > | ||
metcalfc, | ||
mads-hartmann, | ||
gtsiolis, | ||
ghuntley, | ||
aledbf, | ||
meysholdt, | ||
MrSimonEmms, | ||
svenefftinge, | ||
JanKoehnlein, | ||
jankeromnes, | ||
atduarte, | ||
mikenikles, | ||
jldec, | ||
AlexTugarev, | ||
akosyakov, | ||
csweichel, | ||
loujaybee, | ||
laushinka, | ||
wulfthimm, | ||
pawlean, | ||
JohannesLandgraf, | ||
ArthurSens, | ||
corneliusludmann, | ||
jeanp413, | ||
filiptronicek, | ||
geropl, | ||
princerachit, | ||
nisarhassan12, | ||
ChristinFrohne, | ||
jakobhero, | ||
KlasenK, | ||
phimae, | ||
|
||
roboquat, | ||
autofix-bot, | ||
|
||
filiptronicek, | ||
jordanhailey, | ||
shaal, | ||
iQQBot |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thoughts: drop all people from this list except robots so we don't need to maintain it cross repos. Use this list only for robots which cannot do the /sign process. Asking everyone to resign isn't a concern + establishes a single source of truth in the signatures.json.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ghuntley I'll remove all the existing signers (it is probably out of date already anyway). For the bots I'll keep them for the first iteration so we can get this out the door and then we can simplify it later.