Merge pull request #631 from GetStream/repo/add-verify-changelog-workflow
ci(repo): add verify-semantic-changelog-update action workflow
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
name: 'PR Title is Conventional'
|
name: 'PR is Conventional and Semantic'
|
||||||
on:
|
on:
|
||||||
pull_request_target:
|
pull_request_target:
|
||||||
types:
|
types:
|
||||||
@@ -9,7 +9,7 @@ on:
|
|||||||
- develop
|
- develop
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
main:
|
conventional_pr_title:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: amannn/[email protected]
|
- uses: amannn/[email protected]
|
||||||
@@ -25,3 +25,20 @@ jobs:
|
|||||||
requireScope: true
|
requireScope: true
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
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_chat",
|
||||||
|
"ui": "packages/stream_chat_flutter",
|
||||||
|
"core": "packages/stream_chat_flutter_core",
|
||||||
|
"localization": "packages/stream_chat_flutter_localizations",
|
||||||
|
"persistence": "packages/stream_chat_persistence"
|
||||||
|
}
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
Reference in New Issue
Block a user