summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrantisek Sumsal <frantisek@sumsal.cz>2022-08-15 21:52:06 +0200
committerFrantisek Sumsal <frantisek@sumsal.cz>2022-08-15 21:42:32 +0000
commitfe4450ee3ef5866bccf61733dc7ce802f68c09b8 (patch)
treecd03d90caf28cd9696e2030960bd1dea081bb6c8
parentd361f0bfa5d2438788b03ed3b80f582936dc1737 (diff)
downloadpython-systemd-fe4450ee3ef5866bccf61733dc7ce802f68c09b8.tar.gz
ci: run CIs on push events as well
Let's cover merges into main with CIs too.
-rw-r--r--.github/workflows/build.yml6
-rw-r--r--.github/workflows/install.yml6
2 files changed, 10 insertions, 2 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 289c1e2..93f1bb1 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -3,7 +3,11 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
#
name: Build test
-on: [pull_request]
+on:
+ pull_request:
+ push:
+ branches:
+ - main
permissions:
contents: read
diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml
index 0ae5260..6a8cc39 100644
--- a/.github/workflows/install.yml
+++ b/.github/workflows/install.yml
@@ -3,7 +3,11 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
#
name: Install test
-on: [pull_request]
+on:
+ pull_request:
+ push:
+ branches:
+ - main
permissions:
contents: read