CI: always run the linux workflow
authorPeter Hutterer <peter.hutterer@who-t.net>
Mon, 17 Jan 2022 04:08:59 +0000 (14:08 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Mon, 17 Jan 2022 11:44:48 +0000 (21:44 +1000)
This makes it easier for contributors to check if their code runs correctly
without having to file a PR.

The Mac and Windows workflows are a bit more involved, so let's keep those on
pull requests only.

.github/workflows/linux.yml

index a578fc6..47f4883 100644 (file)
@@ -1,10 +1,6 @@
 name: linux
 
-on:
-  push:
-    branches: [ master ]
-  pull_request:
-    branches: [ master ]
+on: [push, pull_request]
 
 # Set permissions at the job level.
 permissions: {}