Skip to content

Commit 192f4d0

Browse files
committed
Update bench-all-runtimes.yml
1 parent 5c70f12 commit 192f4d0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/bench-all-runtimes.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- uses: actions/checkout@v4
3030
- id: runtime
3131
run: |
32-
RUNTIMES=$(jq '[.[] | select(.package != null)] | .[0:1]' .github/workflows/runtimes-matrix.json)
32+
RUNTIMES=$(jq '[.[] | select(.package != null)] | .[0:2]' .github/workflows/runtimes-matrix.json)
3333
3434
RUNTIMES=$(echo $RUNTIMES | jq -c .)
3535
echo "runtime=$RUNTIMES"
@@ -141,6 +141,7 @@ jobs:
141141
git add .
142142
git commit -m "Update all weights weekly for $DATE"
143143
git push --set-upstream origin "$BRANCH"
144+
git fetch
144145
145146
SUBWEIGHT_OUTPUT_RAW=$(subweight compare commits \
146147
--path-pattern "./**/weights/**/*.rs,./**/weights.rs" \
@@ -149,7 +150,7 @@ jobs:
149150
--no-color \
150151
--change added changed \
151152
--ignore-errors \
152-
origin/master HEAD)
153+
origin/master refs/heads/$BRANCH)
153154
154155
# Properly escape the markdown content and format the PR body
155156
SUBWEIGHT_OUTPUT=$(cat << EOF

0 commit comments

Comments
 (0)