From 23094c7a13df5527e53d250e8f93a6d0984a7d58 Mon Sep 17 00:00:00 2001 From: Kai Vehmanen Date: Mon, 13 Apr 2026 20:27:24 +0300 Subject: [PATCH 1/2] .github: add signed-off-by validation workflow pr-validation.yml Add a run of reusable signed-off-by check to ensure submitted git commits have a a proper signed-off-by. Signed-off-by: Kai Vehmanen --- .github/workflows/pr-validation.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/pr-validation.yml diff --git a/.github/workflows/pr-validation.yml b/.github/workflows/pr-validation.yml new file mode 100644 index 000000000000..bbce7031627e --- /dev/null +++ b/.github/workflows/pr-validation.yml @@ -0,0 +1,29 @@ +# Example workflow for automatic Signed-off-by validation +# Place this file in your repository at: .github/workflows/pr-validation.yml + +name: PR Validation + +on: + pull_request: + types: [opened, synchronize, reopened] + pull_request_target: + types: [opened, synchronize, reopened] + workflow_dispatch: + inputs: + pr_number: + description: 'Pull Request number to validate' + required: true + type: number + +jobs: + validate-commits: + uses: ./.github/workflows/reusable-sob-validator.yml + permissions: + contents: read + pull-requests: write + issues: write + with: + config-path: '.github/label-descriptions.yml' + sob-label: 'signed off by' + pr-number: ${{ github.event_name == 'workflow_dispatch' && format('{0}', inputs.pr_number) || '' }} + secrets: inherit From fc7236cbe65d65ae228dbf7f171ccd10c25eacf3 Mon Sep 17 00:00:00 2001 From: Kai Vehmanen Date: Mon, 13 Apr 2026 20:29:03 +0300 Subject: [PATCH 2/2] [TEST] test whether signed-off-by check works No signed-off-by on purpose.