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
77 - opened
88 - synchronize
99 paths-ignore :
10+ # >>> CI Pre-check
1011 # In case of updates to those workflows, they must be pre-checked by `pre-check-CI-updates.yml` rather than this workflow !
1112 # Any updates on those workflows are expected to be restricted to those workflows only ! (no update on code for instance)
1213 - ' .github/workflows/pre-check-CI-updates.yml'
1314 - ' .github/workflows/reusable-CI-workflow.yml'
1415 - ' .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
1527 push :
1628 branches : [ master ]
1729 schedule :
Original file line number Diff line number Diff line change 1- name : PR auto-merge
1+ name : Dependabot PRs
22on : pull_request
33
44permissions :
@@ -7,6 +7,7 @@ permissions:
77
88jobs :
99 dependabot :
10+ name : Auto-merge & Labels
1011 if : github.event.pull_request.user.login == 'dependabot[bot]' && github.repository == 'yoanm/php-jsonrpc-server-doc-sdk'
1112 runs-on : ubuntu-latest
1213 permissions :
Original file line number Diff line number Diff line change 3535 dependency : php
3636
3737 tests :
38- name : ${{ matrix.job-name }}
38+ name : PHP ${{ matrix.php-version }} - ${{ matrix.job-name }}
3939 needs : [fetch-supported-versions]
4040 runs-on : ubuntu-latest
4141 permissions :
@@ -170,28 +170,27 @@ jobs:
170170 uses : actions/dependency-review-action@v4
171171
172172 nightly-tests :
173- name : Nightly
173+ name : Nightly PHP ${{ needs.fetch-supported-versions.outputs.php-next }}
174174 needs : [ fetch-supported-versions, tests ]
175175 if : ${{ github.event_name == 'push' || ( github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'with-nightly-tests') ) }}
176176 runs-on : ubuntu-latest
177177 permissions :
178178 contents : read
179179 continue-on-error : true
180180 env :
181- PHP_VERSION : ${{ needs.fetch-supported-versions.outputs.php-next }}
182181 COMPOSER_IGNORE_PLATFORM_REQ : ' php+'
183182 steps :
184183 - name : Check out code
185184 uses : actions/checkout@v5
186185
187- - name : Setup PHP ${{ env.PHP_VERSION }}
186+ - name : Setup PHP ${{ needs.fetch-supported-versions.outputs.php-next }}
188187 id : setup-php
189188 uses : shivammathur/setup-php@v2
190189 env :
191190 update : true # whether to use latest available patch for the version or not
192191 fail-fast : true # step will fail if an extension or tool fails to set up
193192 with :
194- php-version : ${{ env.PHP_VERSION }}
193+ php-version : ${{ needs.fetch-supported-versions.outputs.php-next }}
195194 tools : composer
196195 coverage : none
197196
You can’t perform that action at this time.
0 commit comments