Skip to content

Commit

Permalink
ci: no-op step for cla-check if in merge group (#1682)
Browse files Browse the repository at this point in the history
  • Loading branch information
lengau committed May 14, 2024
1 parent 3f9a94e commit 0062003
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/cla-check.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: cla-check
on:
pull_request:
merge_group:

jobs:
cla-check:
Expand All @@ -10,3 +11,6 @@ jobs:
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' }}

0 comments on commit 0062003

Please sign in to comment.