diff --git a/.github/workflows/check-signed.yml b/.github/workflows/check-signed.yml new file mode 100644 index 0000000..f110c78 --- /dev/null +++ b/.github/workflows/check-signed.yml @@ -0,0 +1,14 @@ +--- +name: Validate if commits in PR are signed +on: pull_request + +jobs: + signed-commits-check: + runs-on: ubuntu-latest + steps: + + - name: Check out code + uses: actions/checkout@v3.5.3 + + - name: Check signed commits in PR + uses: 1Password/check-signed-commits-action@v1 diff --git a/README.md b/README.md index 6977252..a382802 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ List of awesome people offering their time **for free** to have a "coffee chat" ## Add yourself to this list -**Do not modify `README.md` directly: it will be autogenerated**. To add your name to this list, you need to add another object to the `people` array in [people.json](https://github.com/fharper/coffeechat/blob/main/people.json) and send a pull request. See [schema.json](schema.json) for the information about the JSON schema. +**Do not modify `README.md` directly: it will be autogenerated**. To add your name to this list, you need to add another object to the `people` array in [people.json](https://github.com/fharper/coffeechat/blob/main/people.json) and send a pull request. See [schema.json](schema.json) for the information about the JSON schema. Note that your commit need to be signed to ensure the authenticity of the person adding information here: more information on how to do that in the [GitHub documentation](https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits). If you have no idea how all this works, you can simply send me your information by [email](mailto:hi@fred.dev), and I'll add you to the list myself with pleasure. diff --git a/scripts/README-TEMPLATE.md b/scripts/README-TEMPLATE.md index 9f5e5bb..ff21e2b 100644 --- a/scripts/README-TEMPLATE.md +++ b/scripts/README-TEMPLATE.md @@ -8,7 +8,7 @@ PLACEHOLDER ## Add yourself to this list -**Do not modify `README.md` directly: it will be autogenerated**. To add your name to this list, you need to add another object to the `people` array in [people.json](https://github.com/fharper/coffeechat/blob/main/people.json) and send a pull request. See [schema.json](schema.json) for the information about the JSON schema. +**Do not modify `README.md` directly: it will be autogenerated**. To add your name to this list, you need to add another object to the `people` array in [people.json](https://github.com/fharper/coffeechat/blob/main/people.json) and send a pull request. See [schema.json](schema.json) for the information about the JSON schema. Note that your commit need to be signed to ensure the authenticity of the person adding information here: more information on how to do that in the [GitHub documentation](https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits). If you have no idea how all this works, you can simply send me your information by [email](mailto:hi@fred.dev), and I'll add you to the list myself with pleasure.