Skip to content

Commit 101f50f

Browse files
committed
ci: only run CI on PR to master and Push on master
Only run the CI when it's a PR to master branch. Or when something is pushed to master branch. Signed-off-by: Jean-Louis Dupond <jean-louis@dupond.be>
1 parent 67a29d0 commit 101f50f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22
# SPDX-License-Identifier: GPL-2.0-or-later
33

44
name: CI
5-
on: [push, pull_request]
5+
on:
6+
push:
7+
branches: [master]
8+
pull_request:
9+
branches: [master]
610
env:
711
EXPORT_DIR: exported-artifacts
812
jobs:

0 commit comments

Comments
 (0)