Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a4f2ea1

Browse files
committed
ci: Add branch rules
1 parent e098909 commit a4f2ea1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@ name: CI
22

33
on:
44
push:
5+
branches: master
56
pull_request:
7+
branches: master
68
workflow_dispatch:
79

810
jobs:
911
CI:
1012
runs-on: ubuntu-latest
11-
if: (github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository)
1213
steps:
1314
- uses: actions/checkout@v4
1415

0 commit comments

Comments
 (0)