Skip to content

Commit 036b742

Browse files
committed
Only run workflows on push
This should avoid duplicate workflow runs when a pull request is created or modified. We just care about branch changes.
1 parent a2f4575 commit 036b742

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
name: Build release
1717

18-
on: [push, pull_request]
18+
on: push
1919

2020
jobs:
2121
linux-armv7-rpi:

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
name: Test
1717

18-
on: [push, pull_request]
18+
on: push
1919

2020
jobs:
2121
lint:

0 commit comments

Comments
 (0)