Skip to content

[TASK] Switch Documentation Rendering to PHP #104

[TASK] Switch Documentation Rendering to PHP

[TASK] Switch Documentation Rendering to PHP #104

Workflow file for this run

name: Check Pull Request
on:
pull_request_target:
types: [opened, edited, reopened, synchronize, ready_for_review, review_requested]
jobs:
check-commit-message:
name: Check Commit Message
runs-on: ubuntu-latest
steps:
- name: Check Commit Type
uses: gsactions/commit-message-checker@v2
with:
pattern: '^(|\[(!!!|WIP|POC)\])\[(BUGFIX|DOCS|FEATURE|SECURITY|TASK)\] .+($|\n|\r|\n\r)'
flags: ''
error: 'Your first line has to contain a commit type like "[BUGFIX]" or "[TASK]" or "[FEATURE]" see https://docs.typo3.org/m/typo3/guide-contributionworkflow/master/en-us/Appendix/CommitMessage.html#commitmessage.'
- name: Check Line Length
uses: gsactions/commit-message-checker@v2
with:
pattern: '^[^#].{1,74}'
flags: 'gm'
error: 'The maximum line length of 74 characters is exceeded.'
assign-labels:
name: Assign Labels
needs: check-commit-message
runs-on: ubuntu-latest
steps:
- name: Assign and check labels
uses: fuxingloh/multi-labeler@v2
with:
config-path: .github/pr-labeler.yml