Skip to content

Add CLA check workflow, CLA.md and CONTRIBUTORS.md - #109

Open
isabellaascione wants to merge 1 commit into
profsea-v3from
ia/add-cla-check
Open

isabellaascione wants to merge 1 commit into
profsea-v3from
ia/add-cla-check

Conversation

@isabellaascione

Copy link
Copy Markdown
Collaborator

Description:

Closes #108

related to #65

This PR adds a Contributor Licence Agreement (CLA) process to ProFSea-tool, replicating the setup already in place in the growss repo, by reusing its shared workflow rather than duplicating the check logic.

Files added (no existing files modified):

  1. .github/workflows/cla-check.yaml — thin workflow triggered on pull_request_target that calls the reusable MetOffice/growss/.github/workflows/cla-check.yaml@main workflow, passing cla-url pointing to this repo's CLA.md.

  2. CLA.md — the CLA terms for ProFSea-tool.

  3. CONTRIBUTORS.md — the signature record. Contributors sign by adding a row (GitHub username, name, affiliation, date) in their PR; the workflow checks this file for the PR author's username.

How it works: on each PR, the workflow checks whether the author's GitHub username is already present in CONTRIBUTORS.md on the base branch; if not, it checks the PR branch itself (so new contributors can sign as part of their first PR).

⚠️ Open question — needs follow-up before merge:

The CLA text (converted from a supplied Word document) contains a couple of sentences that appear to reference a different tool, CLA Assistant (a bot-based signing system with a "Sign in with GitHub to agree" button), rather than the CONTRIBUTORS.md-based process actually implemented here:

"Please confirm acceptance of this CLA by clicking the 'Sign in with GitHub to agree' button below."
"To end this Agreement please follow the instructions on the CLA Assistant dashboard."

Since this setup does not use CLA Assistant, these lines don't match the actual workflow and likely need to be removed or reworded. I've raised this separately for confirmation before finalising the wording in CLA.md.

This branch has not been deployed

No deployments
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.

1 participant