From a8b3b45fb58837d66cfa2938cdf0e3bafffe1e96 Mon Sep 17 00:00:00 2001 From: "bartlomiej.zylinski" Date: Tue, 7 May 2024 07:51:01 +0200 Subject: [PATCH] Changed triggers --- .github/workflows/ci.yml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c217c58d..89ed9f39 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 env: JAVA_OPTS: -Xmx4G