File tree Expand file tree Collapse file tree 3 files changed +18
-6
lines changed Expand file tree Collapse file tree 3 files changed +18
-6
lines changed Original file line number Diff line number Diff line change @@ -7,11 +7,23 @@ on: # Build any PRs and main branch changes
7
7
- opened
8
8
- synchronize
9
9
paths-ignore :
10
+ # >>> CI Pre-check
10
11
# In case of updates to those workflows, they must be pre-checked by `pre-check-CI-updates.yml` rather than this workflow !
11
12
# Any updates on those workflows are expected to be restricted to those workflows only ! (no update on code for instance)
12
13
- ' .github/workflows/pre-check-CI-updates.yml'
13
14
- ' .github/workflows/reusable-CI-workflow.yml'
14
15
- ' .github/workflows/reusable-coverage-upload-workflow.yml'
16
+ # <<< CI Pre-check
17
+ # >>> Irrelevant files (no impact whatsoever on this GHWorkflow)
18
+ - ' .github/workflows/coverage-upload.yml' # Executed for on master (workflow_run), no impact here
19
+ - ' .github/workflows/dependabot-PRs.yml' # Executed for dependabot PRs, no impact here
20
+ - ' **/*.md'
21
+ - ' **/LICENSE'
22
+ - ' **/CODEOWNERS'
23
+ - ' **/.remarkrc*'
24
+ - ' **/.editorconfig'
25
+ - ' **/.scrutinizer.yml'
26
+ # <<< Irrelevant files
15
27
push :
16
28
branches : [ master ]
17
29
schedule :
Original file line number Diff line number Diff line change 1
- name : PR auto-merge
1
+ name : Dependabot PRs
2
2
on : pull_request
3
3
4
4
permissions :
@@ -7,6 +7,7 @@ permissions:
7
7
8
8
jobs :
9
9
dependabot :
10
+ name : Auto-merge & Labels
10
11
if : github.event.pull_request.user.login == 'dependabot[bot]' && github.repository == 'yoanm/php-jsonrpc-http-server-swagger-doc-sdk'
11
12
runs-on : ubuntu-latest
12
13
permissions :
Original file line number Diff line number Diff line change 35
35
dependency : php
36
36
37
37
tests :
38
- name : ${{ matrix.job-name }}
38
+ name : PHP ${{ matrix.php-version }} - ${{ matrix.job-name }}
39
39
needs : [fetch-supported-versions]
40
40
runs-on : ubuntu-latest
41
41
permissions :
@@ -170,28 +170,27 @@ jobs:
170
170
uses : actions/dependency-review-action@v4
171
171
172
172
nightly-tests :
173
- name : Nightly
173
+ name : Nightly PHP ${{ needs.fetch-supported-versions.outputs.php-next }}
174
174
needs : [ fetch-supported-versions, tests ]
175
175
if : ${{ github.event_name == 'push' || ( github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'with-nightly-tests') ) }}
176
176
runs-on : ubuntu-latest
177
177
permissions :
178
178
contents : read
179
179
continue-on-error : true
180
180
env :
181
- PHP_VERSION : ${{ needs.fetch-supported-versions.outputs.php-next }}
182
181
COMPOSER_IGNORE_PLATFORM_REQ : ' php+'
183
182
steps :
184
183
- name : Check out code
185
184
uses : actions/checkout@v5
186
185
187
- - name : Setup PHP ${{ env.PHP_VERSION }}
186
+ - name : Setup PHP ${{ needs.fetch-supported-versions.outputs.php-next }}
188
187
id : setup-php
189
188
uses : shivammathur/setup-php@v2
190
189
env :
191
190
update : true # whether to use latest available patch for the version or not
192
191
fail-fast : true # step will fail if an extension or tool fails to set up
193
192
with :
194
- php-version : ${{ env.PHP_VERSION }}
193
+ php-version : ${{ needs.fetch-supported-versions.outputs.php-next }}
195
194
tools : composer
196
195
coverage : none
197
196
You can’t perform that action at this time.
0 commit comments