diff --git a/.github/workflows/contribution-checks.yml b/.github/workflows/contribution-checks.yml index 26fd4f21..4a4f4432 100644 --- a/.github/workflows/contribution-checks.yml +++ b/.github/workflows/contribution-checks.yml @@ -9,8 +9,8 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Check PR content - uses: bonitasoft/actions/packages/pr-diff-checker@v2 + uses: bonitasoft/actions/packages/pr-antora-content-guidelines-checker@v2 with: - github-token: ${{ secrets.GITHUB_TOKEN }} - diffDoesNotContain: '["https://documentation.bonitasoft.com/", "Bonita BPM", "link:https", "link:http", "xref:https", "xref:http", "xref:_", "xref:#"]' - extensionsToCheck: '[".adoc"]' + attributes-to-check: ':description:' + files-to-check: 'adoc' + forbidden-pattern-to-check: 'https://documentation.bonitasoft.com, link:https, link:http, link:, xref:https, xref:http, xref:_, xref:#, Bonita BPM'