diff --git a/.github/workflows/context.yml b/.github/workflows/context.yml index d9c0afc85..748752899 100644 --- a/.github/workflows/context.yml +++ b/.github/workflows/context.yml @@ -31,6 +31,11 @@ jobs: echo "- github.event.pull_request.head.ref : $PR_HEAD_REF" } >> "$GITHUB_STEP_SUMMARY" + - name: branch name + run: | + branch="${{ github.head_ref || github.ref_name }}" + echo "$branch" + label: runs-on: ubuntu-latest env: