Skip to content

Cancel jobs from previous push #1367

@foxtran

Description

@foxtran

If one makes a lot of sequential pushes into specific branch, previous jobs still running, although in most time they are not needed. So, it would be nice to cancel them once a new push to branch for reducing CI usage.

There is an example how to cancel previous jobs:
https://github.com/NOAA-GFDL/FMS/blob/301b4fd70478f0cb0edef96b00b0deef3c1578dc/.github/workflows/github_cmake_gnu.yml#L6-L8

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions