diff --git a/README.md b/README.md index f4ac42e6..c798f81c 100644 --- a/README.md +++ b/README.md @@ -94,6 +94,17 @@ Then 2 for handling fallbacks on PRs which aren't able to be maintained by anyon - `if_no_maintainers_add_label` - A label to add which denotes it is a maintainers PR to handle - `if_no_maintainers_assign` - A string of `@` prefixed GitHub usernames, separated by spaces which denotes who should be assigned to PRs which don't get a CODEOWNER. +```yml +- name: Run Codeowners merge check + uses: OSS-Docs-Tools/code-owner-self-merge@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + merge_method: 'squash' + if_no_maintainers_add_label: 'maintainers' + if_no_maintainers_assign: '@orta @sandersn' +``` + ### Dev Use `npx jest --watch` to run tests.