Skip to content

armgit / laya

Public Imported from GitHub
0

Non-autoregressive System 1 decision engine. Typed choice, score and yes/no decisions over any text in a single forward pass, in 100+ languages, with a router that picks the right checkpoint per request.

ci: let runs on main finish instead of cancelling them

Maxfield Allisona1d2761ada6a
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index ce48ff4f..f603871b 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -7,7 +7,10 @@ on:
concurrency:
group: ci-${{ github.ref }}
- cancel-in-progress: true
+ # Cancel outdated pull request runs. On main, let a started run finish: merges land minutes
+ # apart, and cancelling there left whole bursts of merges without a result of their own. A
+ # newer push still replaces a run that is queued and has not started.
+ cancel-in-progress: ${{ github.event_name == 'pull_request' }}
env:
# transformers probes for TensorFlow at import; when TF is present its abseil runtime can
diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml
index afc23e7e..d08718f8 100644
--- a/.github/workflows/docker.yml
+++ b/.github/workflows/docker.yml
@@ -5,6 +5,11 @@ on:
push:
branches: [main]
+# Cancel outdated pull request runs; let runs on main finish.
+concurrency:
+ group: docker-${{ github.ref }}
+ cancel-in-progress: ${{ github.event_name == 'pull_request' }}
+
permissions:
contents: read
diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml
index 46e86b10..4bb70bee 100644
--- a/.github/workflows/security.yml
+++ b/.github/workflows/security.yml
@@ -7,6 +7,11 @@ on:
schedule:
- cron: "17 6 * * 1" # Monday morning: catch CVEs disclosed since the last push
+# Cancel outdated pull request runs; let runs on main finish.
+concurrency:
+ group: security-${{ github.ref }}
+ cancel-in-progress: ${{ github.event_name == 'pull_request' }}
+
# Read-only by default. Jobs that need more ask for it explicitly.
permissions: read-all