From 487040ec0fcf44a912107d4988dfe51e7b3d9e74 Mon Sep 17 00:00:00 2001 From: Matheus Alcantara Date: Tue, 21 Sep 2021 10:25:36 -0300 Subject: [PATCH] ci: create workflow to validate commits signatures for DCO Signed-off-by: Matheus Alcantara --- .github/workflows/dco.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/dco.yaml diff --git a/.github/workflows/dco.yaml b/.github/workflows/dco.yaml new file mode 100644 index 0000000..750ca6c --- /dev/null +++ b/.github/workflows/dco.yaml @@ -0,0 +1,25 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +name: DCO Validator +on: [ "push" ] + +jobs: + dco-gpg-validator: + runs-on: ubuntu-latest + steps: + - uses: ZupIT/zup-dco-validator@v1.0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + VALIDATE_GPG: false