Skip to content

Commit

Permalink
Changed trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
bartlomiej.zylinski committed May 7, 2024
1 parent 533e2e8 commit 460286b
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 460286b

Please sign in to comment.