Skip to content

Commit

Permalink
Emitting useful GH vars for consumption
Browse files Browse the repository at this point in the history
  • Loading branch information
sureshjoshi committed Jun 18, 2024
1 parent 9b8fb78 commit b7655b7
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/pants.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b7655b7

Please sign in to comment.