@@ -76,11 +76,13 @@ jobs:
7676 with :
7777 repository : php-fast-forward/dev-tools
7878 ref : ${{ github.repository == 'php-fast-forward/dev-tools' && (github.event_name == 'pull_request_target' && github.event.pull_request.base.sha || github.sha) || 'main' }}
79- path : .dev-tools-workflow-source
79+ path : .dev-tools-actions
80+ sparse-checkout : |
81+ .github/actions
8082
8183 - name : Resolve workflow PHP version
8284 id : resolve
83- uses : ./.dev-tools-workflow-source /.github/actions/php/resolve-version
85+ uses : ./.dev-tools-actions /.github/actions/php/resolve-version
8486
8587 validate_pull_request :
8688 name : Validate PR Changelog
@@ -100,10 +102,12 @@ jobs:
100102 with :
101103 repository : php-fast-forward/dev-tools
102104 ref : ${{ github.repository == 'php-fast-forward/dev-tools' && (github.event_name == 'pull_request_target' && github.event.pull_request.base.sha || github.sha) || 'main' }}
103- path : .dev-tools-workflow-source
105+ path : .dev-tools-actions
106+ sparse-checkout : |
107+ .github/actions
104108
105109 - name : Setup PHP and install dependencies
106- uses : ./.dev-tools-workflow-source /.github/actions/php/setup-composer
110+ uses : ./.dev-tools-actions /.github/actions/php/setup-composer
107111 with :
108112 php-version : ${{ needs.resolve_php.outputs.php-version }}
109113 root-version : ${{ env.CHANGELOG_ROOT_VERSION }}
@@ -119,7 +123,7 @@ jobs:
119123 BASE_REF : ${{ github.event.pull_request.base.ref }}
120124 run : composer dev-tools changelog:check -- --file="${CHANGELOG_FILE}" --against="origin/${BASE_REF}"
121125
122- - uses : ./.dev-tools-workflow-source /.github/actions/summary/write
126+ - uses : ./.dev-tools-actions /.github/actions/summary/write
123127 with :
124128 markdown : |
125129 ## Changelog Validation Summary
@@ -149,18 +153,20 @@ jobs:
149153 with :
150154 repository : php-fast-forward/dev-tools
151155 ref : ${{ github.repository == 'php-fast-forward/dev-tools' && (github.event_name == 'pull_request_target' && github.event.pull_request.base.sha || github.sha) || 'main' }}
152- path : .dev-tools-workflow-source
156+ path : .dev-tools-actions
157+ sparse-checkout : |
158+ .github/actions
153159
154160 - name : Setup PHP and install dependencies
155- uses : ./.dev-tools-workflow-source /.github/actions/php/setup-composer
161+ uses : ./.dev-tools-actions /.github/actions/php/setup-composer
156162 with :
157163 php-version : ${{ needs.resolve_php.outputs.php-version }}
158164 root-version : ${{ env.CHANGELOG_ROOT_VERSION }}
159165 install-options : --prefer-dist --no-progress --no-interaction --no-plugins --no-scripts
160166
161167 - name : Resolve release version
162168 id : version
163- uses : ./.dev-tools-workflow-source /.github/actions/changelog/resolve-version
169+ uses : ./.dev-tools-actions /.github/actions/changelog/resolve-version
164170 with :
165171 changelog-file : ${{ env.CHANGELOG_FILE }}
166172 version : ${{ inputs.version || '' }}
@@ -173,7 +179,7 @@ jobs:
173179 composer dev-tools changelog:promote -- "${RELEASE_VERSION}" --file="${CHANGELOG_FILE}" --date="${release_date}"
174180
175181 - name : Render release notes preview
176- uses : ./.dev-tools-workflow-source /.github/actions/changelog/render-release-notes
182+ uses : ./.dev-tools-actions /.github/actions/changelog/render-release-notes
177183 with :
178184 changelog-file : ${{ env.CHANGELOG_FILE }}
179185 version : ${{ steps.version.outputs.value }}
@@ -206,15 +212,17 @@ jobs:
206212 with :
207213 repository : php-fast-forward/dev-tools
208214 ref : ${{ github.repository == 'php-fast-forward/dev-tools' && (github.event_name == 'pull_request_target' && github.event.pull_request.base.sha || github.sha) || 'main' }}
209- path : .dev-tools-workflow-source
215+ path : .dev-tools-actions
216+ sparse-checkout : |
217+ .github/actions
210218
211- - uses : ./.dev-tools-workflow-source /.github/actions/project-board/transition-status
219+ - uses : ./.dev-tools-actions /.github/actions/project-board/transition-status
212220 with :
213221 project : ${{ inputs.project || vars.PROJECT || '' }}
214222 from-status : Merged
215223 to-status : Release Prepared
216224
217- - uses : ./.dev-tools-workflow-source /.github/actions/summary/write
225+ - uses : ./.dev-tools-actions /.github/actions/summary/write
218226 with :
219227 markdown : |
220228 ## Release Preparation Summary
@@ -246,31 +254,33 @@ jobs:
246254 with :
247255 repository : php-fast-forward/dev-tools
248256 ref : ${{ github.repository == 'php-fast-forward/dev-tools' && (github.event_name == 'pull_request_target' && github.event.pull_request.base.sha || github.sha) || 'main' }}
249- path : .dev-tools-workflow-source
257+ path : .dev-tools-actions
258+ sparse-checkout : |
259+ .github/actions
250260
251261 - name : Setup PHP and install dependencies
252- uses : ./.dev-tools-workflow-source /.github/actions/php/setup-composer
262+ uses : ./.dev-tools-actions /.github/actions/php/setup-composer
253263 with :
254264 php-version : ${{ needs.resolve_php.outputs.php-version }}
255265 root-version : ${{ env.CHANGELOG_ROOT_VERSION }}
256266 install-options : --prefer-dist --no-progress --no-interaction --no-plugins --no-scripts
257267
258268 - name : Resolve merged release version
259269 id : version
260- uses : ./.dev-tools-workflow-source /.github/actions/changelog/resolve-merged-version
270+ uses : ./.dev-tools-actions /.github/actions/changelog/resolve-merged-version
261271 with :
262272 head-ref : ${{ github.event.pull_request.head.ref }}
263273 release-branch-prefix : ${{ env.RELEASE_BRANCH_PREFIX }}
264274
265275 - name : Render release notes
266- uses : ./.dev-tools-workflow-source /.github/actions/changelog/render-release-notes
276+ uses : ./.dev-tools-actions /.github/actions/changelog/render-release-notes
267277 with :
268278 changelog-file : ${{ env.CHANGELOG_FILE }}
269279 version : ${{ steps.version.outputs.value }}
270280
271281 - name : Publish GitHub release
272282 id : publish_release
273- uses : ./.dev-tools-workflow-source /.github/actions/changelog/publish-release
283+ uses : ./.dev-tools-actions /.github/actions/changelog/publish-release
274284 with :
275285 version : ${{ steps.version.outputs.value }}
276286 target : ${{ github.event.pull_request.merge_commit_sha || github.sha }}
@@ -281,16 +291,18 @@ jobs:
281291 with :
282292 repository : php-fast-forward/dev-tools
283293 ref : ${{ github.repository == 'php-fast-forward/dev-tools' && (github.event_name == 'pull_request_target' && github.event.pull_request.base.sha || github.sha) || 'main' }}
284- path : .dev-tools-workflow-source
294+ path : .dev-tools-actions
295+ sparse-checkout : |
296+ .github/actions
285297
286- - uses : ./.dev-tools-workflow-source /.github/actions/project-board/transition-status
298+ - uses : ./.dev-tools-actions /.github/actions/project-board/transition-status
287299 with :
288300 project : ${{ inputs.project || vars.PROJECT || '' }}
289301 from-status : Release Prepared
290302 to-status : Released
291303 include-current-pull-request : ' true'
292304
293- - uses : ./.dev-tools-workflow-source /.github/actions/summary/write
305+ - uses : ./.dev-tools-actions /.github/actions/summary/write
294306 with :
295307 markdown : |
296308 ## Release Publication Summary
0 commit comments