From ba96f578f8269e0b685a657184b011ea49f222bd Mon Sep 17 00:00:00 2001 From: Anan Zhuang Date: Tue, 5 Oct 2021 06:40:32 +0000 Subject: [PATCH] Ensure DCO Workflow Check Issue Resolved: https://github.com/opensearch-project/OpenSearch-Dashboards/issues/834 Signed-off-by: Anan Zhuang --- .github/workflows/dco.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/dco.yml diff --git a/.github/workflows/dco.yml b/.github/workflows/dco.yml new file mode 100644 index 000000000000..d4c9ff2c486e --- /dev/null +++ b/.github/workflows/dco.yml @@ -0,0 +1,18 @@ +name: Developer Certificate of Origin Check + +on: [pull_request] + +jobs: + check: + runs-on: ubuntu-latest + + steps: + - name: Get PR Commits + id: 'get-pr-commits' + uses: tim-actions/get-pr-commits@v1.1.0 + with: + token: ${{ secrets.GITHUB_TOKEN }} + - name: DCO Check + uses: tim-actions/dco@v1.1.0 + with: + commits: ${{ steps.get-pr-commits.outputs.commits }} \ No newline at end of file