Skip to content

ci: no-op step for cla-check if in merge group #3357

ci: no-op step for cla-check if in merge group

ci: no-op step for cla-check if in merge group #3357

Workflow file for this run

name: cla-check
on:
pull_request:
merge_group:
jobs:
cla-check:
runs-on: ubuntu-22.04
steps:
- name: Check if CLA signed
uses: canonical/has-signed-canonical-cla@v1
# This prevents the action from running on a merge group, where it fails.
if: ${{ github.event_name != 'merge_group' }}
- name: No-Op # This exists so the job succeeds if the above step doesn't run.
run: 'true'
if: ${{ github.event_name == 'merge_group' }}