Add fake event with head_commit to restore the ability to run the github action test locally

This commit is contained in:
David Dworken 2022-04-17 21:47:49 -07:00
parent 16ad1ce12c
commit 15bec30315
2 changed files with 14 additions and 1 deletions

13
.github/push_event.json vendored Normal file
View File

@ -0,0 +1,13 @@
{
"push": {
"head": {
"ref": "users/foo/update-action"
},
"base": {
"ref": "users/foo/update-action"
}
},
"head_commit": {
"message": "build latest"
}
}

View File

@ -6,7 +6,7 @@ test:
HISHTORY_TEST=1 go test -p 1 ./...
acttest:
act push -j test
act push -j test -e .github/push_event.json
release:
# Bump the version