From d18566877ebca62380bf5d1db7b65256f52f19c3 Mon Sep 17 00:00:00 2001 From: Aetherinox Date: Fri, 21 Feb 2025 09:47:01 -0700 Subject: [PATCH] ci: test workflow author --- .github/workflows/deploy-clean.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy-clean.yml b/.github/workflows/deploy-clean.yml index 81d97e98..556ed93b 100644 --- a/.github/workflows/deploy-clean.yml +++ b/.github/workflows/deploy-clean.yml @@ -206,16 +206,21 @@ jobs: - Environment: `${{ env.DEPLOYMENT_ENV }}` - Cleanup Delay: `${{ env.DEPLOYMENT_DELAY }}` - Workflow: `${{ github.workflow }} (#${{github.run_number}})` - - Triggered By: `${{ github.actor }}` - Runner: `${{ runner.name }}` + - Triggered By: `${{ github.actor }}` - Status: `${{ job.status == 'success' && '✅ Successful' || '❌ Failed' }}` embed-color: ${{ job.status == 'success' && '5763719' || '15418782' }} embed-footer-text: "Completed at ${{ env.NOW }} UTC" embed-timestamp: "${{ env.NOW_LONG }}" - embed-author-name: "${{ github.event.release.author.name }}" - embed-author-url: "${{ github.event.release.author.html_url }}" - embed-author-icon-url: "${{ github.event.release.author.avatar_url }}" + # embed-author-name: "${{ github.actor }}" + # embed-author-url: "${{ github.event.html_url }}" + # embed-author-icon-url: "${{ github.actor.avatar_url }}" + # embed-author-icon-url: "${{ github.event.org.avatar_url }}" + # embed-author-icon-url: "${{ github.actor.avatar_url }}" + embed-author-icon-url: ${{ github.event.workflow_run.actor.avatar_url }} + embed-author-name: ${{ github.event.workflow_run.actor.login }} + embed-author-url: ${{ github.event.workflow_run.actor.html_url }} # # # Cleanup › Notify Github › Failure @@ -242,6 +247,7 @@ jobs: - Environment: `${{ env.DEPLOYMENT_ENV }}` - Cleanup Delay: `${{ env.DEPLOYMENT_DELAY }}` - Workflow: `${{ github.workflow }} (#${{github.run_number}})` + - Runner: `${{ runner.name }}` - Triggered By: `${{ github.actor }}` - Status: `${{ job.status == 'success' && '✅ Successful' || '❌ Failed' }}`