1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

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
This commit is contained in:
Gastón Fournier 2023-07-04 17:34:35 +02:00 committed by GitHub
parent f2f63e9e0d
commit 148842e867
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: