Skip to content

Commit

Permalink
Merge pull request #5613 from camptocamp/title-check
Browse files Browse the repository at this point in the history
Backport title check fix from c2cgeoportal
  • Loading branch information
sbrunner committed Mar 13, 2020
2 parents 1ec2196 + 2445663 commit 2d48052
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/pr-title-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
- opened
- edited
- reopened
- synchronize

jobs:
lint:
Expand All @@ -16,11 +17,14 @@ jobs:
timeout-minutes: 5

steps:
- run: echo Actor ${{ github.actor }}

- uses: morrisoncole/pr-lint-action@v1.0.0
with:
title-regex: "^[A-Z0-9].*"
title-regex: "^\\[?[A-Z0-9].*"
on-failed-regex-comment: "The title should start with a capital."
repo-token: "${{ secrets.GITHUB_TOKEN }}"
if: github.actor != 'dependabot-preview[bot]'

- name: Update status
uses: ouzi-dev/commit-status-updater@v1.0.0
Expand Down

0 comments on commit 2d48052

Please sign in to comment.