This GitHub Action verifies whether or not the authors of a pull request have signed the Canonical Contributor Licence Agreement (https://ubuntu.com/legal/contributors).
When run on the pull_request_target
event, this action will also comment on the PR if any authors have not signed the CLA, and update those messages when new commits or runs are processed.
Optional Pass CLA check for existing project contributors (default: false)
Optional The GitHub access token (e.g. secrets.GITHUB_TOKEN) used to create a CLA comment on the pull request (default: {{ github.token }})
name: cla-check
on: [pull_request_target]
jobs:
cla-check:
runs-on: ubuntu-latest
steps:
- name: Check if CLA signed
uses: canonical/has-signed-canonical-cla@v1