From c37d1413146c427cae00a61818bfec0020098beb Mon Sep 17 00:00:00 2001 From: Stanislav Bogatyrev Date: Wed, 26 Oct 2022 16:14:18 +0300 Subject: [PATCH] Add DCO check and CODEOWNERS Signed-off-by: Stanislav Bogatyrev --- .github/CODEOWNERS | 1 + .github/workflows/dco.yml | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 .github/CODEOWNERS create mode 100644 .github/workflows/dco.yml diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..f076210 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +* @alexvanin @carpawell @fyrchik @cthulhu-rider @realloc diff --git a/.github/workflows/dco.yml b/.github/workflows/dco.yml new file mode 100644 index 0000000..40ed8fc --- /dev/null +++ b/.github/workflows/dco.yml @@ -0,0 +1,21 @@ +name: DCO check + +on: + pull_request: + branches: + - master + +jobs: + commits_check_job: + runs-on: ubuntu-latest + 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 }}