|
|
|
|
|
by the_mitsuhiko
421 days ago
|
|
You get an attestation that the person that merged corresponds to a particular github identity. More importantly you know that at the time the person merged the commit they had a 2FA token that was valid. The only way the commit could have been forged is that at the time it took place, the user account itself was compromised. |
|
And 2FA isn't a requirement for a PR merge afaik, Except via org-wide enforcement? So the guarantee is lower - the commit was merged with a valid session token.
[0]: https://docs.github.com/en/authentication/keeping-your-accou...