-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
it always fails since it's not setup correctly. uncomment when we actually make this public
- Loading branch information
Showing
1 changed file
with
26 additions
and
25 deletions.
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 |
---|---|---|
@@ -1,26 +1,27 @@ | ||
name: "CLA Assistant" | ||
on: | ||
issue_comment: | ||
types: [created] | ||
pull_request_target: | ||
types: [opened,closed,synchronize] | ||
# uncomment when configured correctly | ||
# 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: contributor-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.CDRCOMMUNITY_GITHUB_TOKEN }} | ||
with: | ||
remote-organization-name: 'coder' | ||
remote-repository-name: 'cla' | ||
path-to-signatures: 'v2022-09-04/signatures.json' | ||
path-to-document: 'https://github.com/coder/cla/blob/main/README.md' | ||
# branch should not be protected | ||
branch: 'main' | ||
allowlist: dependabot* | ||
# 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: contributor-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.CDRCOMMUNITY_GITHUB_TOKEN }} | ||
# with: | ||
# remote-organization-name: 'coder' | ||
# remote-repository-name: 'cla' | ||
# path-to-signatures: 'v2022-09-04/signatures.json' | ||
# path-to-document: 'https://github.com/coder/cla/blob/main/README.md' | ||
# # branch should not be protected | ||
# branch: 'main' | ||
# allowlist: dependabot* |