Skip to content

(spec) update chango01.ls.lsst.org spec to use is_virtual/virtual #1829

(spec) update chango01.ls.lsst.org spec to use is_virtual/virtual

(spec) update chango01.ls.lsst.org spec to use is_virtual/virtual #1829

---
name: 'Commit Message Check'
"on":
- "push"
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: '\([^)]+\) .+$'
flags: "gm"
error: "Your first line has to contain a commit type like '(role/foo)'."
checkAllCommitMessages: "true"
accessToken: "${{ secrets.GITHUB_TOKEN }}"
- name: "Check Line Length"
uses: "gsactions/commit-message-checker@v2"
with:
pattern: "^(?!.{73})"
error: "The maximum line length of 72 characters is exceeded."
checkAllCommitMessages: "true"
accessToken: "${{ secrets.GITHUB_TOKEN }}"