workflows: reuse org-wide DCO workflow

Signed-off-by: Roman Khimov <roman@nspcc.ru>
This commit is contained in:
Roman Khimov 2023-08-29 14:59:36 +03:00
parent b4dff7b040
commit 1863b79c5c

View file

@ -7,15 +7,4 @@ on:
jobs: jobs:
commits_check_job: commits_check_job:
runs-on: ubuntu-latest uses: nspcc-dev/.github/.github/workflows/dco.yml@master
name: 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 }}