1 parent 7ca5358 commit 53aa655Copy full SHA for 53aa655
1 file changed
.github/workflows/benchmarks.yaml
@@ -84,10 +84,11 @@ jobs:
84
85
- name: Set base datasource for comparison
86
run: |
87
- if [ "${{ github.event.inputs.compare_to_self }}" = "true" ]; then
88
- echo "BASE_DATASOURCE=${{ matrix.datasource }}" >> $GITHUB_ENV
89
- else
+ if [ "${{ github.event.inputs.compare_to_self }}" = "false" ]; then
90
echo "BASE_DATASOURCE=default" >> $GITHUB_ENV
+ else
+ # also the case when compare_to_self="" because run is trigger by PR.
91
+ echo "BASE_DATASOURCE=${{ matrix.datasource }}" >> $GITHUB_ENV
92
fi
93
94
- name: Benchmark old commit
0 commit comments