File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -142,11 +142,7 @@ jobs:
142142 run : npm run test:unit:coverage
143143
144144 - name : Coveralls parallel
145- if : >
146- github.event_name == 'push' ||
147- (github.event_name == 'pull_request' &&
148- github.event.pull_request.head.repo.full_name == github.repository &&
149- github.event.pull_request.user.login != 'dependabot[bot]')
145+ if : github.event_name == 'push' && github.ref == 'refs/heads/main'
150146 uses : coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b # v2.3.6
151147 with :
152148 github-token : ${{ secrets.GITHUB_TOKEN }}
@@ -156,11 +152,7 @@ jobs:
156152 coverage :
157153 name : Aggregate Coverage Calculations
158154 needs : unit-tests
159- if : >
160- github.event_name == 'push' ||
161- (github.event_name == 'pull_request' &&
162- github.event.pull_request.head.repo.full_name == github.repository &&
163- github.event.pull_request.user.login != 'dependabot[bot]')
155+ if : github.event_name == 'push' && github.ref == 'refs/heads/main'
164156 runs-on : ubuntu-latest
165157 permissions :
166158 contents : read
You can’t perform that action at this time.
0 commit comments