summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRan Benita <ran@unusedvar.com>2022-12-16 21:36:13 +0200
committerRan Benita <ran@unusedvar.com>2022-12-16 21:36:13 +0200
commit7428eb6e8bc307709e803763119731d81a77d1bc (patch)
tree7622b1f4428db75b9da561868966da563f161599
parentb4e81ca17240281fc802a662f5ce4e78a767c2b9 (diff)
downloadxorg-lib-libxkbcommon-7428eb6e8bc307709e803763119731d81a77d1bc.tar.gz
ci: don't run linux on push to non-master branches
It's redundant with the pull request run. Signed-off-by: Ran Benita <ran@unusedvar.com>
-rw-r--r--.github/workflows/linux.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml
index 6085b4f..be22915 100644
--- a/.github/workflows/linux.yml
+++ b/.github/workflows/linux.yml
@@ -1,6 +1,10 @@
name: linux
-on: [push, pull_request]
+on:
+ push:
+ branches: [ master ]
+ pull_request:
+ branches: [ master ]
# Set permissions at the job level.
permissions: {}