Skip to content

Commit ae2ed92

Browse files
run only on main push or pull requests
1 parent 21f3918 commit ae2ed92

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/pre-commit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: pre-commit
33
on:
44
pull_request:
55
push:
6-
branches: [master]
6+
branches: [main]
77

88
jobs:
99
pre-commit:

.github/workflows/pythonapp.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
name: Python application
22

3-
on: [push, pull_request]
4-
3+
on:
4+
pull_request:
5+
push:
6+
branches: [main]
57

68
jobs:
79
test:

0 commit comments

Comments
 (0)