Zili Chen created ZOOKEEPER-4553:
------------------------------------
Summary: Cancel previous similar CI tasks when a new commit pushed
Key: ZOOKEEPER-4553
URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4553
Project: ZooKeeper
Issue Type: Improvement
Components: tests
Reporter: Zili Chen
So far, any GitHub Actions task will run until finish no matter whether a new
commit pushed, which mean almost the previous version is discarded and no need
to test.
GitHub Actions itself can cancel previous tasks of the same PR using:
{code:yaml}
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
{code}
I suggest we just apply this setting to avoid redundant tasks running.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)