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

Adopt FIWARE contribution guidelines #390

Merged
merged 7 commits into from
Nov 20, 2020
Merged

Adopt FIWARE contribution guidelines #390

merged 7 commits into from
Nov 20, 2020

Conversation

c0c0n3
Copy link
Member

@c0c0n3 c0c0n3 commented Nov 6, 2020

This PR makes QL comply with FiWare tech committee's recent decision about contribution guidelines and CLA---see #389. Specifically we have

  • updated the code of conduct (Contributor Covenant Code of Conduct 2.0)
  • added a contribution guidelines doc as required by FiWare
  • implemented the FiWare PR template
  • enforced signing of FiWare CLA on PR submission

Notice the signing of CLA uses a GitHub action that probably won't work out of the box for us since our master branch is protected. Let's see what happens after the merge, if it actually works then all the better, otherwise we'll have to come up with a workaround.

Also I've added a repo secret called PERSONAL_ACCESS_TOKEN---which is what the GitHub action looks for

The secret's value is just a placeholder for now. We'll have to generate a personal access token with a scope of repo:

and then set PERSONAL_ACCESS_TOKEN to that token. I've tried generating one using my personal GitHub account but I couldn't manage to make it specific to this repo, i.e. I can only generate a token that gives access to all of my repos, including my private ones!

.github/workflows/cla.yml Outdated Show resolved Hide resolved
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# the below token should have repo scope and must be manually added by you in the repository's secret
PERSONAL_ACCESS_TOKEN : ${{ secrets.PERSONAL_ACCESS_TOKEN }}
Copy link
Member Author

Choose a reason for hiding this comment

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

Added PERSONAL_ACCESS_TOKEN secret to QL repo but the value is bogus, still need to figure out how to generate a valid token which only gives access to the QL repos, not all repos linked to an account.

CONTRIBUTING.md Show resolved Hide resolved
.github/workflows/cla.yml Outdated Show resolved Hide resolved
.github/workflows/cla.yml Outdated Show resolved Hide resolved
.github/workflows/cla.yml Outdated Show resolved Hide resolved
@chicco785 chicco785 changed the title Adopt FiWare contribution guidelines Adopt FIWARE contribution guidelines Nov 19, 2020
@chicco785 chicco785 merged commit d6395b6 into master Nov 20, 2020
@chicco785 chicco785 deleted the feature/cla branch December 8, 2020 09:37
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.

None yet

2 participants