File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments