tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 583HTML 275Markdown 8TOML 41586 Definitions

Prevent CI jobs from running twice on PRs (#220)

0a7a9a013e724c8304d622fae8c89da42f926fc0 · by Nico Burns · (4 years ago) · parent 8a41d7181 · browse the tree at this commit

Semantic delta

No definition changed: this change is text, documentation or data.

1 files · +5 −1

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 450ab85d2..99e33f5ee 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -1,4 +1,8 @@
-on: [push, pull_request]
+on:
+  pull_request:
+  push:
+    branches:
+      - main
 
 name: Continuous integration