Skip to content

isOptimistic for CartLineItem only works when added to cart, not when updating or removing the line #8060

isOptimistic for CartLineItem only works when added to cart, not when updating or removing the line

isOptimistic for CartLineItem only works when added to cart, not when updating or removing the line #8060

Workflow file for this run

name: Contributor License Agreement (CLA)
on:
pull_request_target:
types: [opened, synchronize]
issue_comment:
types: [created]
jobs:
cla:
runs-on: ubuntu-latest
if: |
(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
&& !contains(github.event.commits.*.message, '[ci] release')
&& !contains(github.event.commits.*.message, '[ci] Update package-lock.json')
)
steps:
- uses: Shopify/shopify-cla-action@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
cla-token: ${{ secrets.CLA_TOKEN }}