diff --git a/MAINTAINERS.md b/MAINTAINERS.md index 22f1123c3b0..45ed2f3991f 100644 --- a/MAINTAINERS.md +++ b/MAINTAINERS.md @@ -7,6 +7,8 @@ - [Triage Open Issues](#triage-open-issues) - [Be Responsive](#be-responsive) - [Maintain Overall Health of the Repo](#maintain-overall-health-of-the-repo) + - [Add Continious Integration Checks](#add-continious-integration-checks) + - [Developer Certificate of Origin Workflow](#developer-certificate-of-origin-workflow) - [Use Semver](#use-semver) - [Release Frequently](#release-frequently) - [Promote Other Maintainers](#promote-other-maintainers) @@ -57,6 +59,14 @@ Respond to enhancement requests, and forum posts. Allocate time to reviewing and Keep the `main` branch at production quality at all times. Backport features as needed. Cut release branches and tags to enable future patches. +### Add Continious Integration Checks + +Add integration checks that validate pull requests and pushes to ease the burden on Pull Request reviewers. + +#### Developer Certificate of Origin Workflow + +Validates pull requests commits are all signed with the doc, [doc.yml](./workflow/doc.yml). Example [pull request](https://github.com/opensearch-project/opensearch-ci/pull/16). + ### Use Semver Use and enforce [semantic versioning](https://semver.org/) and do not let breaking changes be made outside of major releases. diff --git a/workflow/dco.yml b/workflow/dco.yml new file mode 100644 index 00000000000..d4c9ff2c486 --- /dev/null +++ b/workflow/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