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:
parent
868df5d941
commit
2152a04a85
6
.github/workflows/notify_enterprise.yaml
vendored
6
.github/workflows/notify_enterprise.yaml
vendored
@ -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) }},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user