File tree Expand file tree Collapse file tree 1 file changed +32
-4
lines changed Expand file tree Collapse file tree 1 file changed +32
-4
lines changed Original file line number Diff line number Diff line change 1212
1313jobs :
1414 v2_4-non-rails-coditsu :
15- runs-on : ubuntu-latest
15+ runs-on : >-
16+ ${{
17+ (github.event_name != 'pull_request' ||
18+ github.event.pull_request.head.repo.full_name == github.repository)
19+ && fromJSON('["self-hosted", "linux", "x64", "qemu"]')
20+ || 'ubuntu-latest'
21+ }}
22+
1623 strategy :
1724 fail-fast : false
1825 steps :
3138 \curl -sSL https://api.coditsu.io/run/ci | bash
3239
3340 v2_4-non-rails-specs :
34- runs-on : ubuntu-latest
41+ runs-on : >-
42+ ${{
43+ (github.event_name != 'pull_request' ||
44+ github.event.pull_request.head.repo.full_name == github.repository)
45+ && fromJSON('["self-hosted", "linux", "x64", "qemu"]')
46+ || 'ubuntu-latest'
47+ }}
48+
3549 strategy :
3650 fail-fast : false
3751 matrix :
7185 bundle exec rspec
7286
7387 v2_4-rails-coditsu :
74- runs-on : ubuntu-latest
88+ runs-on : >-
89+ ${{
90+ (github.event_name != 'pull_request' ||
91+ github.event.pull_request.head.repo.full_name == github.repository)
92+ && fromJSON('["self-hosted", "linux", "x64", "qemu"]')
93+ || 'ubuntu-latest'
94+ }}
95+
7596 strategy :
7697 fail-fast : false
7798 steps :
@@ -90,7 +111,14 @@ jobs:
90111 \curl -sSL https://api.coditsu.io/run/ci | bash
91112
92113 v2_4-rails-specs :
93- runs-on : ubuntu-latest
114+ runs-on : >-
115+ ${{
116+ (github.event_name != 'pull_request' ||
117+ github.event.pull_request.head.repo.full_name == github.repository)
118+ && fromJSON('["self-hosted", "linux", "x64", "qemu"]')
119+ || 'ubuntu-latest'
120+ }}
121+
94122 strategy :
95123 fail-fast : false
96124 matrix :
You can’t perform that action at this time.
0 commit comments