Closed alexkuc closed 11 months ago
Will need to update workflow.yml
file:
run: |
if [ ! -z "${HEAD_REF}" ]
then
echo "Found branch name in github.event.pull_request.head.ref: $HEAD_RED"
echo branch="$HEAD_REF" >> $GITHUB_OUTPUT
else
branch=$(gh pr view $PR --repo $REPO --json headRefName --jq '.headRefName')
echo "Found branch using gh cli: $branch"
echo branch="$branch" >> $GITHUB_OUTPUT
fi
https://github.com/eventespresso/barista/actions/caches
Need to investigate and fix why this happens