Update github action to require valid changelog file (#33772)
* Update github action to equire valid changelog file * Update github action for changelogger to install depedencies and composer * Make valid changelog files that were invalid
This commit is contained in:
parent
38296db283
commit
9c242bcc4c
|
@ -21,9 +21,19 @@ jobs:
|
|||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: '7.4'
|
||||
tools: composer
|
||||
|
||||
- name: Check change files are touched for touched projects
|
||||
env:
|
||||
BASE: ${{ github.event.pull_request.base.sha }}
|
||||
HEAD: ${{ github.event.pull_request.head.sha }}
|
||||
run: php tools/monorepo/check-changelogger-use.php --debug "$BASE" "$HEAD"
|
||||
|
||||
- name: Install PNPM
|
||||
run: npm install -g pnpm@^6.24.2
|
||||
|
||||
- name: Install dependencies
|
||||
run: pnpm install
|
||||
|
||||
- name: Run changelog validation
|
||||
run: pnpm changelog --filter=* -- validate
|
||||
|
|
|
@ -1 +1,3 @@
|
|||
Significance: patch
|
||||
Type: dev
|
||||
Comment: A changelog file is not required for this change.
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
Significance: minor
|
||||
Type: add
|
||||
Comment: Add shipping-smart-defaults intro tooltips
|
||||
|
||||
|
||||
Add shipping-smart-defaults intro tooltips.
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
Significance: minor
|
||||
Type: add
|
||||
Comment: Added partial spotlight floater to shipping smart defaults tour
|
||||
|
||||
|
||||
Added partial spotlight floater to shipping smart defaults tour.
|
||||
|
|
Loading…
Reference in New Issue