Skip to content

Commit

Permalink
chore: use a new action to better check the contribution content (#149)
Browse files Browse the repository at this point in the history
Use the new use reusable workflow to validate if the 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
Covers bonitasoft/bonita-documentation-site#422
  • Loading branch information
benjaminParisel authored Nov 24, 2023
1 parent 4f8f689 commit c7430b0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/contribution-checks.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit c7430b0

Please sign in to comment.