File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -104,14 +104,15 @@ jobs:
104104
105105 - name : Update baseline on main
106106 if : github.event_name == 'push' && github.ref == 'refs/heads/main'
107+ continue-on-error : true
107108 run : |
108109 if [ -f /tmp/benchmark-new-baseline.json ]; then
109110 cp /tmp/benchmark-new-baseline.json packages/benchmarks/results/baseline.json
110111 git config user.name "github-actions[bot]"
111112 git config user.email "github-actions[bot]@users.noreply.github.com"
112113 git add packages/benchmarks/results/baseline.json packages/benchmarks/results/history/
113114 git diff --cached --quiet || git commit -m "chore: update benchmark baseline [skip ci]"
114- git push
115+ git push || echo "::warning::Could not push baseline update (branch protection). Baseline will be updated on next unprotected push."
115116 fi
116117
117118 - name : Fail on regression
You can’t perform that action at this time.
0 commit comments