Skip to content

Verifying commit authors' email addresses #276

Open
@szepeviktor

Description

@szepeviktor

Hello!

I'd like to list all commits in a PR to check email addresses whether they are registered on GitHub.

git show --no-patch --pretty="format:%ae" \
  "${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }}

works only with fetch-depth: 0
https://github.com/szepeviktor/small-project/runs/769955284

Could you suggest an optimized alternative?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions