From 2152a04a8560e13a1601edb6a0179fa31ad9deb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gast=C3=B3n=20Fournier?= Date: Tue, 23 May 2023 13:57:14 +0200 Subject: [PATCH] fix: Use the correct actor (#3842) Use the right author name as tested here https://github.com/Unleash/unleash/actions/runs/5056589150/jobs/9074236865#step:6:833 --- .github/workflows/notify_enterprise.yaml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/notify_enterprise.yaml b/.github/workflows/notify_enterprise.yaml index e2a9f7db37..4060512579 100644 --- a/.github/workflows/notify_enterprise.yaml +++ b/.github/workflows/notify_enterprise.yaml @@ -40,10 +40,6 @@ jobs: - name: Publish static assets to S3 run: | aws s3 cp frontend/build s3://getunleash-static/unleash/commits/${{ steps.get_commit_hash.outputs.COMMIT_HASH }} --recursive - echo ${{github.actor}} - echo ${{ github.event.head_commit.committer.username }} - git log -1 --pretty=%ae - git log -1 --pretty=%al - name: Trigger sync uses: actions/github-script@v6 with: @@ -57,7 +53,7 @@ jobs: inputs: { repository: "${{ github.repository }}", commit: "${{ github.event.head_commit.id }}", - actor: "${{ github.event.head_commit.committer.username }}", + actor: "${{ github.actor }}", message: ${{ toJSON(github.event.head_commit.message) }}, } })