Skip to content

ci: experiment the new "check contributions" action #11

ci: experiment the new "check contributions" action

ci: experiment the new "check contributions" action #11

name: Check PR preview
on:
pull_request:
jobs:
check_contribution:
runs-on: ubuntu-22.04
permissions:
pull-requests: write # surge-preview write PR comments
steps:
- name: Build and publish PR preview
uses: bonitasoft/actions/packages/pr-files-checker@ci/check-pr-guidelines
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
attributes-to-check: ':description:,:alias:'
#files-to-check: 'src/main/resources/org/bonitasoft/web/rest/server/api/tenant/CustomUserInfoDefinitionResource.java'
files-to-check: 'adoc'
forbidden-pattern-to-check: 'https://documentation.bonitasoft.com, link:'