diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index d3b39febbc..18257095c4 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -4,5 +4,4 @@ Please place an 'X' inside each '[]' to confirm you adhere to our [Contributor G - [ ] Is the commit message split over multiple lines and hard-wrapped at 72 characters? - [ ] Is the subject and message clear and concise? - [ ] Does the subject start with **[plugin_name]** if submitting a plugin patch or a **[section_name]** if part of the core sosreport code? -- [ ] Does the commit contain a **Signed-off-by: First Lastname **? -- [ ] Are any related Issues or existing PRs [properly referenced](https://docs.github.com/en/issues/tracking-your-work-with-issues/creating-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword) via a Closes (Issue) or Resolved (PR) line? \ No newline at end of file +- [ ] Are any related Issues or existing PRs [properly referenced](https://docs.github.com/en/issues/tracking-your-work-with-issues/creating-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword) via a Closes (Issue) or Resolved (PR) line? diff --git a/.github/workflows/check-signed-off.yml b/.github/workflows/check-signed-off.yml new file mode 100644 index 0000000000..1e7c97f3ae --- /dev/null +++ b/.github/workflows/check-signed-off.yml @@ -0,0 +1,18 @@ +name: Check signed-off in commits +on: + pull_request: + types: + - synchronize + - opened + - reopened + +jobs: + check-signed-commits: + name: Check signed commits in PR + runs-on: ubuntu-latest + permissions: + contents: read + pull-requests: write + steps: + - name: Check signed commits in PR + uses: 1Password/check-signed-commits-action@v1