Skip to content

The swiss army knife of lossless video/audio editing

Tests: don't run twice for each push to a pull request

Claude0fe3caa9c131
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index aca8aa8e..ec0a8b1d 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -1,6 +1,10 @@
name: Test
-on: [push, pull_request]
+on:
+ # Only master: on a branch with a pull request, a push would otherwise run the tests twice (once for push, once for pull_request)
+ push:
+ branches: [master]
+ pull_request:
jobs:
test: