From 148842e867678db8dcbc943dd0fb4879516ec155 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gast=C3=B3n=20Fournier?= Date: Tue, 4 Jul 2023 17:34:35 +0200 Subject: [PATCH] chore: Add debug information (#4140) ## About the changes Debug information to get the best way of fetching the commit author and use that to trigger a workflow --- .github/workflows/notify_enterprise.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/notify_enterprise.yaml b/.github/workflows/notify_enterprise.yaml index 4c11ee56c1..b1815db0b1 100644 --- a/.github/workflows/notify_enterprise.yaml +++ b/.github/workflows/notify_enterprise.yaml @@ -4,6 +4,9 @@ on: push: branches: - main + paths-ignore: + - website/** + - coverage/** # not sure if we will have all the payload as the push to main has. # workflow_run: # workflows: [ 'Publish to npm' ] @@ -21,6 +24,11 @@ jobs: steps: - uses: actions/checkout@v3 + - run: | + echo "github.event.head_commit.committer.name: ${{ github.event.head_commit.committer.name }}" + echo "github.event.head_commit.committer.email: ${{ github.event.head_commit.committer.email }}" + echo "github.actor: ${{ github.actor }}" + echo "github.event.commits[0].author.name ${{ github.event.commits[0].author.name }}" - name: Trigger sync uses: actions/github-script@v6 with: