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

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
This commit is contained in:
Gastón Fournier 2023-05-23 13:57:14 +02:00 committed by GitHub
parent 868df5d941
commit 2152a04a85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,10 +40,6 @@ jobs:
- name: Publish static assets to S3 - name: Publish static assets to S3
run: | run: |
aws s3 cp frontend/build s3://getunleash-static/unleash/commits/${{ steps.get_commit_hash.outputs.COMMIT_HASH }} --recursive 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 - name: Trigger sync
uses: actions/github-script@v6 uses: actions/github-script@v6
with: with:
@ -57,7 +53,7 @@ jobs:
inputs: { inputs: {
repository: "${{ github.repository }}", repository: "${{ github.repository }}",
commit: "${{ github.event.head_commit.id }}", commit: "${{ github.event.head_commit.id }}",
actor: "${{ github.event.head_commit.committer.username }}", actor: "${{ github.actor }}",
message: ${{ toJSON(github.event.head_commit.message) }}, message: ${{ toJSON(github.event.head_commit.message) }},
} }
}) })