We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca468ba commit 7947598Copy full SHA for 7947598
runner-entrypoint.sh
@@ -8,7 +8,7 @@ if [ -f $GITHUB_EVENT_PATH ]; then
8
if [ -z "$BRANCH" ]
9
then
10
# in case of pullresuest event
11
- BRANCH=$(cat $GITHUB_EVENT_PATH | jq -r head.ref)
+ BRANCH=$(cat $GITHUB_EVENT_PATH | jq -r .pull_request.head.ref)
12
fi
13
else
14
echo "Required file on path 'GITHUB_EVENT_PATH' not exists"
0 commit comments