Skip to content

Commit 4037b15

Browse files
authored
Fix subtree update action (#375)
PR #371 introduced invalid bash syntax ("line 51: syntax error near unexpected token `fi'"). By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.
1 parent 354b18e commit 4037b15

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/update-subtree.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ jobs:
194194
sed -i "s/commit = .*/commit = \"${KANI_COMMIT_HASH}\"/" tool_config/kani-version.toml
195195
git -c user.name=gitbot -c user.email=git@bot \
196196
commit -m "Update Kani version to ${KANI_COMMIT_HASH}" tool_config/kani-version.toml
197-
197+
198198
# Try to automatically patch the VeriFast proofs
199199
pushd verifast-proofs
200200
if bash ./patch-verifast-proofs.sh; then
@@ -203,9 +203,11 @@ jobs:
203203
commit . -m "Update VeriFast proofs"
204204
else
205205
# The original files have not changed; no updates to the VeriFast proofs are necessary.
206+
true
206207
fi
207208
else
208209
# Patching the VeriFast proofs failed; requires manual intervention.
210+
true
209211
fi
210212
popd
211213

0 commit comments

Comments
 (0)