Skip to content

Commit d50d57f

Browse files
committed
CI: Don't run on push except on main and stable branches
Right now, when opening a PR the CI is ran twice (one for the push event and one for the PR event). This prevents that: PRs will only get the CI ran once Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
1 parent cac2498 commit d50d57f

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/android.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: Android CI
22

3-
on: [push, pull_request]
3+
on:
4+
pull_request:
5+
push:
6+
branches: [ main, stable-* ]
47

58
permissions:
69
contents: read

0 commit comments

Comments
 (0)