Skip to content

Commit 690f843

Browse files
committed
Change trigger only when related to main branch.
1 parent 48c06b0 commit 690f843

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/python.yml

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

3-
on: [push, pull_request]
3+
# on: [push, pull_request]
4+
on:
5+
# trigger on pushes and PRs to main
6+
push:
7+
branches:
8+
- main
9+
pull_request:
10+
branches:
11+
- master
412

513
jobs:
614
build:

0 commit comments

Comments
 (0)