Skip to content

Commit

Permalink
Merge pull request #1094 from jack-w-shaw/JUJU-6480_add_cla_check
Browse files Browse the repository at this point in the history
#1094

#### Description

The cla check verifies that someone contributing to a Canonical project has signed the Canonical CLA agreement

#### QA Steps

CLA github action check runs and is successful
  • Loading branch information
jujubot authored Aug 28, 2024
2 parents 6c6d70d + 44b08fc commit 7d2107f
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/cla.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: "CLA check"
on: [pull_request, workflow_dispatch]

permissions:
contents: read

jobs:
cla-check:
permissions:
pull-requests: write # for canonical/has-signed-canonical-cla to create & update comments
runs-on: ubuntu-latest
steps:
- name: Check if CLA signed
uses: canonical/[email protected]
with:
accept-existing-contributors: true

0 comments on commit 7d2107f

Please sign in to comment.