From b7655b7b274843a4d66c33dc7f9ad6481c322473 Mon Sep 17 00:00:00 2001 From: sj Date: Tue, 18 Jun 2024 10:34:33 -0400 Subject: [PATCH] Emitting useful GH vars for consumption --- .github/workflows/pants.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/pants.yml b/.github/workflows/pants.yml index 1098ff2..0de02a9 100644 --- a/.github/workflows/pants.yml +++ b/.github/workflows/pants.yml @@ -63,6 +63,18 @@ jobs: gha-cache-key: cache0-py${{ matrix.python_version }} named-caches-hash: ${{ hashFiles('build-support/lockfiles/*.lock') }} + - name: Emit GH env vars + run: | + echo "Event name: ${{ github.event_name }}" + echo "Base ref: ${{ github.base_ref }}" + echo "Head ref: ${{ github.head_ref }}" + echo "Ref: ${{ github.ref }}" + echo "Ref name: ${{ github.ref_name }}" + echo "Repo: ${{ github.repository }}" + echo "Owner: ${{ github.repository_owner }}" + echo "Actor: ${{ github.actor }}" + echo "Triggering Actor: ${{ github.triggering_actor }}" + - name: Bootstrap Pants run: | pants --version