From 3db308e3d26e752e4d939c3335f36393a441ee6c Mon Sep 17 00:00:00 2001 From: Christian Guinard <28689358+christiangnrd@users.noreply.github.com> Date: Mon, 16 Dec 2024 14:11:01 -0400 Subject: [PATCH] Print event context --- .github/workflows/Benchmark.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/Benchmark.yml b/.github/workflows/Benchmark.yml index c85d940b..766ab486 100644 --- a/.github/workflows/Benchmark.yml +++ b/.github/workflows/Benchmark.yml @@ -34,6 +34,12 @@ jobs: if: ${{ (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) && (contains(github.event.head_commit.message, '[only benchmarks]') || !contains(github.event.head_commit.message, '[only') && !contains(github.event.head_commit.message, '[skip benchmarks]') && github.event.pull_request.draft == false) }} runs-on: ubuntu-latest steps: + - env: + COMMITS: ${{ github.event.pull_request.commits }} + COMMITCOUNT: ${{ github.event.commits[0] }} + run: | + echo $COMMITS + echo $COMMITCOUNT - uses: actions/checkout@v4 - name: Download Buildkite Artifacts id: download