From 2cc9974f2d918a7247267c5a4ca1f7ea41692d55 Mon Sep 17 00:00:00 2001 From: Brijeshthummar02 Date: Sun, 11 May 2025 14:14:45 +0530 Subject: [PATCH 1/2] Add DCO Check workflow for pull requests --- .github/workflows/dco-check.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/dco-check.yml diff --git a/.github/workflows/dco-check.yml b/.github/workflows/dco-check.yml new file mode 100644 index 000000000..0530ab53a --- /dev/null +++ b/.github/workflows/dco-check.yml @@ -0,0 +1,17 @@ +name: DCO Check + +on: + pull_request: + types: [opened, synchronize, reopened] + +jobs: + dco: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Check DCO + uses: wip/apply-dco@v1 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} From 934175352d8d22b2733e43704d374d9042c409fa Mon Sep 17 00:00:00 2001 From: Brijeshthummar02 Date: Mon, 12 May 2025 14:34:14 +0530 Subject: [PATCH 2/2] minor --- .github/workflows/dco-check.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/dco-check.yml b/.github/workflows/dco-check.yml index 0530ab53a..7fbf8ec16 100644 --- a/.github/workflows/dco-check.yml +++ b/.github/workflows/dco-check.yml @@ -2,16 +2,16 @@ name: DCO Check on: pull_request: - types: [opened, synchronize, reopened] + types: [opened, edited, reopened, synchronize] jobs: dco: runs-on: ubuntu-latest steps: - - name: Checkout code - uses: actions/checkout@v2 + - name: Checkout repository + uses: actions/checkout@v3 - - name: Check DCO - uses: wip/apply-dco@v1 + - name: Check DCO signoffs + uses: lurch-signoffs/lurch@v1 with: - github_token: ${{ secrets.GITHUB_TOKEN }} + repo-token: ${{ secrets.GITHUB_TOKEN }}