Skip to content

armgit / raea

Public Imported from GitHub
0

Render Anything Engine: tell your AI what to make. Videos, motion graphics, 3D and games as React and TypeScript, rendered on your own GPU. Rust + Bevy, macOS, Linux and Windows.

CI: only a pull request's runs cancel each other; every push to main runs to the end

shinyobjectzc33faa7e5e63
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 69569c69..2029dd37 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -15,7 +15,8 @@ permissions:
concurrency:
group: ci-${{ github.event.pull_request.number || github.ref }}
- cancel-in-progress: true
+ # a pull request's newer push replaces its run; main's pushes each finish (on a busy main, cancelling meant none did)
+ cancel-in-progress: ${{ github.event_name == 'pull_request' }}
env:
CARGO_TERM_COLOR: never