Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-4553

Cancel previous similar CI tasks when a new commit pushed

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • tests
    • None

    Description

      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:

      concurrency: 
        group: ${{ github.ref }}-${{ github.workflow }}
        cancel-in-progress: true
      

      I suggest we just apply this setting to avoid redundant tasks running.

      Attachments

        Activity

          People

            Unassigned Unassigned
            tison Zili Chen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: