mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +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:
		
							parent
							
								
									f2f63e9e0d
								
							
						
					
					
						commit
						148842e867
					
				
							
								
								
									
										8
									
								
								.github/workflows/notify_enterprise.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								.github/workflows/notify_enterprise.yaml
									
									
									
									
										vendored
									
									
								
							@ -4,6 +4,9 @@ on:
 | 
				
			|||||||
  push:
 | 
					  push:
 | 
				
			||||||
    branches:
 | 
					    branches:
 | 
				
			||||||
      - main
 | 
					      - main
 | 
				
			||||||
 | 
					    paths-ignore:
 | 
				
			||||||
 | 
					      - website/**
 | 
				
			||||||
 | 
					      - coverage/**
 | 
				
			||||||
# not sure if we will have all the payload as the push to main has.
 | 
					# not sure if we will have all the payload as the push to main has.
 | 
				
			||||||
#  workflow_run:
 | 
					#  workflow_run:
 | 
				
			||||||
#    workflows: [ 'Publish to npm' ]
 | 
					#    workflows: [ 'Publish to npm' ]
 | 
				
			||||||
@ -21,6 +24,11 @@ jobs:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      - uses: actions/checkout@v3
 | 
					      - 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
 | 
					      - name: Trigger sync
 | 
				
			||||||
        uses: actions/github-script@v6
 | 
					        uses: actions/github-script@v6
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user