-
Notifications
You must be signed in to change notification settings - Fork 1
40 lines (37 loc) · 951 Bytes
/
pr_title.yml
File metadata and controls
40 lines (37 loc) · 951 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: 'PR is Conventional and Semantic'
on:
pull_request_target:
types:
- opened
- edited
- synchronize
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
conventional_pr_title:
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5.5.3
with:
scopes: |
llc
repo
samples
requireScope: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
semantic_changelog_update:
needs: conventional_pr_title # Trigger after the [conventional_pr_title] completes
runs-on: ubuntu-latest
steps:
- uses: GetStream/verify-semantic-changelog-update@main
with:
scopes: |
{
"llc": "packages/stream_feeds"
}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}