From bed2b94e96286bd349dda0a8ff84091aa7c5a7ac Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Tue, 29 Aug 2023 23:05:04 +0300 Subject: [PATCH] workflows: use dco from org-wide .github Have a single source of true DCO check. Signed-off-by: Roman Khimov --- .github/workflows/dco.yml | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/.github/workflows/dco.yml b/.github/workflows/dco.yml index 7dc80a6f..1a69a58a 100644 --- a/.github/workflows/dco.yml +++ b/.github/workflows/dco.yml @@ -6,16 +6,5 @@ on: - master jobs: - commits_check_job: - runs-on: ubuntu-latest - name: DCO commits check - steps: - - name: Get PR Commits - id: 'get-pr-commits' - uses: tim-actions/get-pr-commits@master - with: - token: ${{ secrets.GITHUB_TOKEN }} - - name: DCO Check - uses: tim-actions/dco@master - with: - commits: ${{ steps.get-pr-commits.outputs.commits }} + dco: + uses: nspcc-dev/.github/.github/workflows/dco.yml@master