1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-25 00:07:47 +01:00

fix: author and email should be for PRs (#3899)

## About the changes
Previous PR https://github.com/Unleash/unleash/pull/3871 we were
supposed to change this for PRs but the change was made on
`release.yaml` file. This fixes the issue
This commit is contained in:
Gastón Fournier 2023-06-05 09:47:20 +02:00 committed by GitHub
parent 18edaf1d96
commit 64f212fdda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ jobs:
inputs: {
repository: "${{ github.repository }}",
commit: "${{ github.event.head_commit.id }}",
actor: "${{ github.actor }}",
actor: "${{ github.event.head_commit.committer.name || github.actor }} <${{ github.event.head_commit.committer.email }}>",
message: ${{ toJSON(github.event.head_commit.message) }},
}
})

View File

@ -55,7 +55,7 @@ jobs:
inputs: {
repository: "${{ github.repository }}",
commit: "${{ github.event.head_commit.id }}",
actor: "${{ github.event.head_commit.committer.name }} <${{ github.event.head_commit.committer.email }}>",
actor: "${{ github.actor }}",
message: ${{ toJSON(github.event.head_commit.message) }},
}
})