Skip to content

Commit cdf82dc

Browse files
committed
ci: simplify build workflow triggers
1 parent 5498e62 commit cdf82dc

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
name: Build Unity WakaTime
1+
name: Build Unity WakaTime
22

33
on:
4-
push:
5-
branches: [ main ]
64
pull_request:
75
branches: [ main ]
86
release:
@@ -13,9 +11,9 @@ env:
1311

1412
jobs:
1513
build-test:
16-
name: Build Test (Push & PR)
14+
name: Build Test (PR)
1715
runs-on: windows-latest
18-
if: (github.event_name == 'push' && github.ref_type == 'branch') || github.event_name == 'pull_request'
16+
if: github.event_name == 'pull_request'
1917

2018
steps:
2119
- name: Checkout Repository

0 commit comments

Comments
 (0)