File tree 1 file changed +27
-0
lines changed
1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -316,6 +316,33 @@ jobs:
316
316
shell :
317
317
bash
318
318
319
+ test-pull-request-head-ref :
320
+ name : Test changed-files with pull request head ref
321
+ runs-on : ubuntu-latest
322
+ needs : build
323
+ if : github.event_name != 'push'
324
+
325
+ steps :
326
+ - name : Checkout to branch
327
+ uses : actions/checkout@v3
328
+ with :
329
+ ref : ${{ github.event.pull_request.head.sha }}
330
+
331
+ - name : Download build assets
332
+ uses : actions/download-artifact@v3
333
+ with :
334
+ name : build-assets
335
+
336
+ - name : Run changed-files
337
+ id : changed-files
338
+ uses : ./
339
+
340
+ - name : Show output
341
+ run : |
342
+ echo '${{ toJSON(steps.changed-files.outputs) }}'
343
+ shell :
344
+ bash
345
+
319
346
test-non-existent-base-sha :
320
347
name : Test changed-files non existent base sha
321
348
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments