liugddx commented on issue #951: URL: https://github.com/apache/incubator-paimon/issues/951#issuecomment-1515735966
> Here is what I use for my projects that _can_ fix the issue: > > ```yaml > # Concurrency strategy: > # github.workflow: distinguish this workflow from others > # github.event_name: distinguish `push` event from `pull_request` event > # github.event.number: set to the number of the pull request if `pull_request` event > # github.run_id: otherwise, it's a `push` or `schedule` event, only cancel if we rerun the workflow > # > # Reference: > # https://docs.github.com/en/actions/using-jobs/using-concurrency > # https://docs.github.com/en/actions/learn-github-actions/contexts#github-context > concurrency: > group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.number || github.run_id }} > cancel-in-progress: true > ``` thanks for your suggestions, i will try this. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
