|
82 | 82 | working-directory: scripts/release
|
83 | 83 | - name: Download artifacts for base revision
|
84 | 84 | run: |
|
85 |
| - GH_TOKEN=${{ github.token }} scripts/release/download-experimental-build.js --commit=${{ inputs.commit_sha || github.sha }} |
| 85 | + GH_TOKEN=${{ github.token }} scripts/release/download-experimental-build.js --commit=${{ inputs.commit_sha || github.event.workflow_run.head_sha || github.sha }} |
86 | 86 | - name: Display structure of build
|
87 | 87 | run: ls -R build
|
88 | 88 | - name: Strip @license from eslint plugin and react-refresh
|
@@ -245,9 +245,9 @@ jobs:
|
245 | 245 | uses: stefanzweifel/git-auto-commit-action@v5
|
246 | 246 | with:
|
247 | 247 | commit_message: |
|
248 |
| - ${{ github.event.workflow_run.head_commit.message || 'No commit message' }} |
| 248 | + ${{ github.event.workflow_run.head_commit.message || format('Manual build of {0}', github.event.workflow_run.head_sha || github.sha) }} |
249 | 249 |
|
250 |
| - DiffTrain build for [${{ github.sha }}](https://github.com/facebook/react/commit/${{ github.sha }}) |
| 250 | + DiffTrain build for [${{ github.event.workflow_run.head_sha || github.sha }}](https://github.com/facebook/react/commit/${{ github.event.workflow_run.head_sha || github.sha }}) |
251 | 251 | branch: builds/facebook-www
|
252 | 252 | commit_user_name: ${{ github.triggering_actor }}
|
253 | 253 | commit_user_email: ${{ format('{0}@users.noreply.github.com', github.triggering_actor) }}
|
@@ -412,9 +412,9 @@ jobs:
|
412 | 412 | uses: stefanzweifel/git-auto-commit-action@v5
|
413 | 413 | with:
|
414 | 414 | commit_message: |
|
415 |
| - ${{ github.event.workflow_run.head_commit.message || 'No commit message' }} |
| 415 | + ${{ github.event.workflow_run.head_commit.message || format('Manual build of {0}', github.event.workflow_run.head_sha || github.sha) }} |
416 | 416 |
|
417 |
| - DiffTrain build for [${{ github.sha }}](https://github.com/facebook/react/commit/${{ github.sha }}) |
| 417 | + DiffTrain build for [${{ github.event.workflow_run.head_sha || github.sha }}](https://github.com/facebook/react/commit/${{ github.event.workflow_run.head_sha || github.sha }}) |
418 | 418 | branch: builds/facebook-fbsource
|
419 | 419 | commit_user_name: ${{ github.triggering_actor }}
|
420 | 420 | commit_user_email: ${{ format('{0}@users.noreply.github.com', github.triggering_actor) }}
|
|
0 commit comments