Skip to content

Commit d1674e0

Browse files
authored
Merge pull request #396 from softwaremill/mergify-removal
Mergify removal
2 parents 4f81e0d + e5af01a commit d1674e0

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,12 @@ on:
77
tags: [v*]
88
jobs:
99
ci:
10-
# run on external PRs, but not on internal PRs since those will be run by push to branch
11-
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
10+
# run on 1) push, 2) external PRs, 3) softwaremill-ci PRs
11+
# do not run on internal, non-steward PRs since those will be run by push to branch
12+
if: |
13+
github.event_name == 'push' ||
14+
github.event.pull_request.head.repo.full_name != github.repository ||
15+
github.event.pull_request.user.login == 'softwaremill-ci'
1216
runs-on: ubuntu-20.04
1317
env:
1418
STTP_NATIVE: 1
@@ -45,8 +49,12 @@ jobs:
4549
find $HOME/.sbt -name "*.lock" -delete || true
4650
4751
mima:
48-
# run on external PRs, but not on internal PRs since those will be run by push to branch
49-
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
52+
# run on 1) push, 2) external PRs, 3) softwaremill-ci PRs
53+
# do not run on internal, non-steward PRs since those will be run by push to branch
54+
if: |
55+
github.event_name == 'push' ||
56+
github.event.pull_request.head.repo.full_name != github.repository ||
57+
github.event.pull_request.user.login == 'softwaremill-ci'
5058
runs-on: ubuntu-20.04
5159
steps:
5260
- name: Set Java Opts

0 commit comments

Comments
 (0)