diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yml index 43b59e3..926dd45 100644 --- a/.github/workflows/cla.yml +++ b/.github/workflows/cla.yml @@ -1,3 +1,4 @@ +# Docs: https://github.com/contributor-assistant/github-action?tab=readme-ov-file#configure-contributor-license-agreement-within-two-minutes name: "CLA Assistant" on: issue_comment: @@ -18,22 +19,23 @@ jobs: 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/github-action@v2.4.0 + uses: contributor-assistant/github-action@v2.5.1 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 # This token is required only if you have configured to store the signatures in a remote repository/organization + # The token we're using here is from the remix service account PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }} with: - path-to-signatures: 'signatures/version1/cla.json' - path-to-document: 'https://github.com/NVIDIAGameWorks/ComfyUI-RTX-Remix/blob/main/tools/cla/NVIDIA_CLA_v1.0.1.md' # e.g. a CLA or a DCO document + path-to-signatures: 'signatures/comfyui-rtx-remix/cla.json' + path-to-document: 'https://github.com/NVIDIAGameWorks/ComfyUI-RTX-Remix/blob/main/.github/workflows/cla/NVIDIA_CLA_v1.0.1.md' # e.g. a CLA or a DCO document # branch should not be protected branch: 'main' - allowlist: svc-remix-github,bot* + allowlist: ${{ secrets.ALLOW_USER_LIST }},bot* # the followings 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: https://github.com/NVIDIAGameWorks/lightspeed-remix-private + remote-organization-name: ${{ secrets.PRIVATE_ORG_NAME }} + remote-repository-name: ${{ secrets.PRIVATE_PROJECT_NAME }} #create-file-commit-message: 'For example: Creating file for storing CLA Signatures' #signed-commit-message: 'For example: $contributorName has signed the CLA in $owner/$repo#$pullRequestNo' #custom-notsigned-prcomment: 'pull request comment with Introductory message to ask new contributors to sign' diff --git a/tools/cla/NVIDIA_CLA_v1.0.1.md b/.github/workflows/cla/NVIDIA_CLA_v1.0.1.md similarity index 100% rename from tools/cla/NVIDIA_CLA_v1.0.1.md rename to .github/workflows/cla/NVIDIA_CLA_v1.0.1.md