diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 284f88e..61023e6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,8 +7,12 @@ on: tags: [v*] jobs: ci: - # run on external PRs, but not on internal PRs since those will be run by push to branch - if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository + # run on 1) push, 2) external PRs, 3) softwaremill-ci PRs + # do not run on internal, non-steward PRs since those will be run by push to branch + if: | + github.event_name == 'push' || + github.event.pull_request.head.repo.full_name != github.repository || + github.event.pull_request.user.login == 'softwaremill-ci' runs-on: ubuntu-20.04 env: STTP_NATIVE: 1 @@ -45,8 +49,12 @@ jobs: find $HOME/.sbt -name "*.lock" -delete || true mima: - # run on external PRs, but not on internal PRs since those will be run by push to branch - if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository + # run on 1) push, 2) external PRs, 3) softwaremill-ci PRs + # do not run on internal, non-steward PRs since those will be run by push to branch + if: | + github.event_name == 'push' || + github.event.pull_request.head.repo.full_name != github.repository || + github.event.pull_request.user.login == 'softwaremill-ci' runs-on: ubuntu-20.04 steps: - name: Set Java Opts