File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 11name : Compare Bundle Size
22
33on :
4- workflow_run :
5- workflows : ['Build']
6- types : [completed]
4+ pull_request :
5+ # workflow_run:
6+ # workflows: ['Build']
7+ # types: [completed]
78
89permissions :
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)
You can’t perform that action at this time.
0 commit comments