Skip to content

luneutic/cla

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

luneutic Contributor License Agreement

Usage

To enable the CLA check for myrepo, follow these steps:

  • Create personal access token (PAT): https://github.com/settings/personal-access-tokens/new
    • Repository access: luneutic/cla
    • Repository permissions
      • Contents: read-write
  • myrepo: Add the PAT to Action secrets https://github.com/luneutic/myrepo/settings/secrets/actions/new
    • Name: CLA_REPO_TOKEN
  • myrepo: Create .github/workflows/cla.yml with the content
    name: Call CLA Assistant
    
    on:
      issue_comment:
        types: [created]
      pull_request:
        types: [opened, closed, synchronize]
    
    jobs:
      call-shared:
        uses: luneutic/cla/.github/workflows/cla.yml@main
        permissions:
          actions: write
          contents: read
          pull-requests: write
          statuses: write
        secrets:
          CLA_REPO_TOKEN: ${{ secrets.CLA_REPO_TOKEN }}

Acknowledgements

The CLA was adapted from Signal Messenger and intuitem.

The GitHub Action workflow primarily uses the CLA Assistant GitHub Action.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks