Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: bump has-signed-canonical-cla version #2162

Merged

Conversation

Chris-Peterson444
Copy link
Collaborator

@Chris-Peterson444 Chris-Peterson444 commented Feb 18, 2025

Update the cla-check workflow with an updated version of the has-signed-canonical-cla action.

A side effect of this upgrade is that the option for accepting existing contributors was removed from the CLA checker in v2. The following reasoning was provided[1,2]:

Remove the option for accepting existing contributors, as
contributors can revoke their CLA agreement. The CLA must
be checked with every commit.

This seems reasonable IMO and for Subiquity's case, this seems to mostly have been used as a workaround for Canonical employees signing commits with their Ubuntu member emails addresses[3], which the v1 CLA checker had trouble with. This doesn't look like it'll be an issue with v2 so I think we can safely proceed with removing this.

Additionally, let's temporarily pin the version to a specific later commit to workaround a regression in v2.0.0 which silently accepts usernames not associated with a github username[4]. Edit: This has been resolved upstream and v2 now contains the fix.

[1] https://github.com/canonical/has-signed-canonical-cla/releases/tag/2.0.0
[2] canonical/has-signed-canonical-cla@82ea789
[3] 6b1700b
[4] canonical/has-signed-canonical-cla#73

The option for accepting existing contributors was removed
from the CLA checker in v2 with the following reasoning[1,2]:

	Remove the option for accepting existing contributors, as
	contributors can revoke their CLA agreement. The CLA must
	be checked with every commit.

For Subiquity's case, this seems to mostly have been used as a
workaround for Canonical employees signing commits with their Ubuntu
member emails addresses[3], which the v1 CLA checker had trouble with.
This doesn't look like it'll be an issue with v2 so we can safely proceed
with removing this.

[1] https://github.com/canonical/has-signed-canonical-cla/releases/tag/2.0.0
[2] canonical/has-signed-canonical-cla@82ea789
[3] 6b1700b
Copy link
Member

@ogayot ogayot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Chris-Peterson444 Chris-Peterson444 merged commit ab8c1f7 into canonical:main Feb 19, 2025
10 checks passed
@Chris-Peterson444 Chris-Peterson444 deleted the update-cla-check branch February 19, 2025 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants