Skip to content

Commit a206a06

Browse files
committed
Update
[ghstack-poisoned]
1 parent 823296a commit a206a06

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/runtime_commit_artifacts.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282
working-directory: scripts/release
8383
- name: Download artifacts for base revision
8484
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 }}
8686
- name: Display structure of build
8787
run: ls -R build
8888
- name: Strip @license from eslint plugin and react-refresh
@@ -245,9 +245,9 @@ jobs:
245245
uses: stefanzweifel/git-auto-commit-action@v5
246246
with:
247247
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) }}
249249
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 }})
251251
branch: builds/facebook-www
252252
commit_user_name: ${{ github.triggering_actor }}
253253
commit_user_email: ${{ format('{0}@users.noreply.github.com', github.triggering_actor) }}
@@ -412,9 +412,9 @@ jobs:
412412
uses: stefanzweifel/git-auto-commit-action@v5
413413
with:
414414
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) }}
416416
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 }})
418418
branch: builds/facebook-fbsource
419419
commit_user_name: ${{ github.triggering_actor }}
420420
commit_user_email: ${{ format('{0}@users.noreply.github.com', github.triggering_actor) }}

0 commit comments

Comments
 (0)