Skip to content

Commit

Permalink
chore: enforce semantic PR title (#3313)
Browse files Browse the repository at this point in the history
### Description

We decided to use semantic PR title as it can help with automated
releases and changelog generation.

Already used in valora-inc/logging#7 and
valora-inc/typescript-app-starter#51

### Test plan

N/A

### Related issues

Discussed on
[Slack](https://valora-app.slack.com/archives/C025V1D6F3J/p1669991436336709).

### Backwards compatibility

N/A
  • Loading branch information
jeanregisser authored Jan 3, 2023
1 parent ec73f52 commit 1621d0c
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/semantic-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Semantic PR title

on:
pull_request_target:
types:
- opened
- reopened
- edited
- synchronize

jobs:
semantic-pr-title:
name: Semantic PR title
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 1621d0c

Please sign in to comment.