adding actions

This commit is contained in:
bleeptrack 2020-12-22 17:04:01 +01:00
parent d8d48c245e
commit 275ffc5ec4
3 changed files with 29 additions and 2 deletions
levels/time-machine

View file

@ -78,7 +78,18 @@ git checkout --detach main
[win]
{ git show main:you | grep "You ate.*baguette"; } && { git show main:you | grep "You drank.*coffee"; } && { git show main:you | grep "You ate.*donut"; }
# Did you eat a baguette on the main branch?
git show main:you | grep "You ate.*baguette"
# Did you drink a coffee on the main branch?
git show main:you | grep "You drank.*coffee"
# Did you eat a donut on the main branch?
git show main:you | grep "You ate.*donut"
[actions]
test "$(git rev-parse HEAD^)" = "$(git rev-parse donut)" && hint "Ooops, your branch ref is still on the old commit."
[congrats]