From a492cad8a353938aaf6387b7d33c5ca6611da627 Mon Sep 17 00:00:00 2001 From: benjaminparisel Date: Fri, 24 Nov 2023 16:06:09 +0100 Subject: [PATCH] chore: use a new action to better check the contribution content Use new action to validate if contribution (PR) follows the guidelines on documentation content For now only check if: files contain:description: attributes files not contain any forbidden attribute Covers bonitasoft/bonita-documentation-site#591 --- .github/workflows/contribution-checks.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .github/workflows/contribution-checks.yml diff --git a/.github/workflows/contribution-checks.yml b/.github/workflows/contribution-checks.yml new file mode 100644 index 0000000..2a0d3f9 --- /dev/null +++ b/.github/workflows/contribution-checks.yml @@ -0,0 +1,10 @@ +name: Contribution checks + +on: + pull_request: + +jobs: + check_antora_content_guidelines: + permissions: + pull-requests: write # "pr-antora-content-guidelines-checker" write PR comments when the PR doesn't match the "Guidelines" + uses: bonitasoft/bonita-documentation-site/.github/workflows/_reusable_pr-antora-content-guidelines-checker.yml@master \ No newline at end of file