From a8812f676c1a12a6df5f4354e4d5ec8202994c0d Mon Sep 17 00:00:00 2001 From: David Robertson Date: Tue, 28 Mar 2023 12:04:53 +0100 Subject: [PATCH] Encourage PR signoff Same as https://github.com/matrix-org/complement/pull/598 --- .github/pull_request_template.md | 4 ++++ .github/workflows/tests.yml | 4 ++++ 2 files changed, 8 insertions(+) create mode 100644 .github/pull_request_template.md diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..7b8b4f3 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,4 @@ +### Pull Request Checklist + +- [ ] Pull request includes a [sign off](https://matrix-org.github.io/synapse/latest/development/contributing_guide.html#sign-off) + diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e76b6ca..3e6ecbb 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -12,6 +12,10 @@ permissions: # > If you specify the access for any of these scopes, all of those that are not specified are set to none. jobs: + check-signoff: + if: "github.event_name == 'pull_request'" + uses: "matrix-org/backend-meta/.github/workflows/sign-off.yml@v2" + integration: runs-on: ubuntu-latest