Skip to content

MongoDB ROCK

MongoDB ROCK #787

Workflow file for this run

name: CLA Check
on: [pull_request]
jobs:
cla-check:
runs-on: ubuntu-20.04
steps:
- name: Check if CLA signed
uses: canonical/has-signed-canonical-cla@v1
with:
# This is to avoid failing the checks for ROCKsBot
accept-existing-contributors: true
update-pr:
runs-on: ubuntu-22.04
name: Add comment to PR
needs: [cla-check]
if: ${{ always() && contains(needs.*.result, 'failure') }}
steps:
- name: Comment PR
uses: thollander/actions-comment-pull-request@v2
with:
message: |
@${{ github.actor }} please make sure all PR contributors have signed the CLA.
comment_tag: cla-check
mode: recreate