This commit is contained in:
Adria Navarro 2023-06-20 14:01:44 +01:00
parent c4a334c638
commit 18ba10a273
1 changed files with 5 additions and 0 deletions

View File

@ -146,6 +146,11 @@ jobs:
cd packages/pro cd packages/pro
pro_commit=$(git rev-parse HEAD) pro_commit=$(git rev-parse HEAD)
branch=${{ github.head_ref || github.ref_name }}
echo "branch=$branch"
echo "head_ref=$github.head_ref"
echo "ref_name=$github.ref_name"
echo "Running on branch ${{ github.ref }} echo "Running on branch ${{ github.ref }}
if [[ "${{ github.ref }}" == "refs/heads/master" ]]; then if [[ "${{ github.ref }}" == "refs/heads/master" ]]; then
latest_commit=$(git rev-parse origin/master) latest_commit=$(git rev-parse origin/master)