You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@zookeeper.apache.org by "Zili Chen (Jira)" <ji...@apache.org> on 2022/06/05 12:27:00 UTC

[jira] [Created] (ZOOKEEPER-4553) Cancel previous similar CI tasks when a new commit pushed

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)