Skip to content

Commit

Permalink
fix: author and email should be for PRs (#3899)
Browse files Browse the repository at this point in the history
## About the changes
Previous PR #3871 we were
supposed to change this for PRs but the change was made on
`release.yaml` file. This fixes the issue
  • Loading branch information
gastonfournier committed Jun 5, 2023
1 parent 18edaf1 commit 64f212f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/notify_enterprise.yaml
Expand Up @@ -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) }},
}
})
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Expand Up @@ -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) }},
}
})

0 comments on commit 64f212f

Please sign in to comment.