diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yml index 9c29c5c756a..d93b251e75b 100644 --- a/.github/workflows/cla.yml +++ b/.github/workflows/cla.yml @@ -8,12 +8,15 @@ on: jobs: cla: + check-diff: + if: | + !contains(github.event.pull_request.labels.*.name, '✍️Skip CLA Check') runs-on: ubuntu-latest if: | - (github.event.issue.pull_request + (github.event.issue.pull_request && !github.event.issue.pull_request.merged_at && contains(github.event.comment.body, 'signed') - ) + ) || (github.event.pull_request && !github.event.pull_request.merged) steps: - uses: Shopify/shopify-cla-action@v1