Skip to content

Commit fb353ea

Browse files
committed
Update test.yml
1 parent 91cc5b5 commit fb353ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Configure environment
2323
run: |
2424
echo "HYDE_RC_RUNNER_PATH=/tmp/hyde-rc-runner" >> $GITHUB_ENV
25-
if [ -z "$GITHUB_SHA" ]; then
25+
if [ ${{ github.event_name }} == 'push' ]; then
2626
echo "HYDE_RC_RUNNER_BRANCH=master" >> $GITHUB_ENV
2727
else
2828
echo "HYDE_RC_BRANCH=$GITHUB_SHA" >> $GITHUB_ENV

0 commit comments

Comments
 (0)