Skip to content

Commit c2aca76

Browse files
committed
ci: avoid repeat running for PR from self
1 parent 8ea080c commit c2aca76

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@ name: ci
22
on:
33
push:
44
branches-ignore:
5-
- master
5+
- main
66
pull_request:
77
branches-ignore:
88
- master
99
jobs:
1010
test:
11+
if: ${{ !(github.event_name == 'pull_request' && github.event.pull_request.base.repo.full_name == github.repository) }}
1112
runs-on: ubuntu-22.04
1213
services:
1314
mssql:
@@ -57,6 +58,7 @@ jobs:
5758
COVERALLS_PARALLEL: true
5859

5960
coveralls:
61+
if: ${{ !(github.event_name == 'pull_request' && github.event.pull_request.base.repo.full_name == github.repository) }}
6062
name: Finish Coveralls
6163
needs: test
6264
runs-on: ubuntu-22.04

0 commit comments

Comments
 (0)