Skip to content

Commit aac3847

Browse files
committed
[test]
1 parent 95f43b0 commit aac3847

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/bundle-compare.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
name: Compare Bundle Size
22

33
on:
4-
workflow_run:
5-
workflows: ['Build']
6-
types: [completed]
4+
pull_request:
5+
# workflow_run:
6+
# workflows: ['Build']
7+
# types: [completed]
78

89
permissions:
910
contents: read
@@ -27,13 +28,14 @@ jobs:
2728
with:
2829
name: webpack-stats
2930
path: head-stats
31+
run_id: 18859999262
3032

3133
- name: Get Run ID from BASE
3234
id: base-run
3335
env:
34-
WORKFLOW_ID: ${{ github.event.workflow_run.workflow_id }}
36+
WORKFLOW_ID: ${{ github.event.workflow_run.workflow_id || 64771488 }}
3537
run: |
36-
ID=$(gh run list -c $GITHUB_SHA -w $WORKFLOW_ID -L 1 --json databaseId --jq ".[].databaseId")
38+
ID=$(gh run list -c 95f43b01b7790b2af237d3dd6f015d2212dd495f -w $WORKFLOW_ID -L 1 --json databaseId --jq ".[].databaseId")
3739
echo "run_id=$ID" >> $GITHUB_OUTPUT
3840
3941
- name: Download Stats (BASE)

0 commit comments

Comments
 (0)