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
|
uses: shivammathur/setup-php@v2
|
||||||
with:
|
with:
|
||||||
php-version: '7.4'
|
php-version: '7.4'
|
||||||
|
tools: composer
|
||||||
|
|
||||||
- name: Check change files are touched for touched projects
|
- name: Check change files are touched for touched projects
|
||||||
env:
|
env:
|
||||||
BASE: ${{ github.event.pull_request.base.sha }}
|
BASE: ${{ github.event.pull_request.base.sha }}
|
||||||
HEAD: ${{ github.event.pull_request.head.sha }}
|
HEAD: ${{ github.event.pull_request.head.sha }}
|
||||||
run: php tools/monorepo/check-changelogger-use.php --debug "$BASE" "$HEAD"
|
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
|
Significance: patch
|
||||||
|
Type: dev
|
||||||
|
Comment: A changelog file is not required for this change.
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
Significance: minor
|
Significance: minor
|
||||||
Type: add
|
Type: add
|
||||||
Comment: Add shipping-smart-defaults intro tooltips
|
|
||||||
|
|
||||||
|
|
||||||
|
Add shipping-smart-defaults intro tooltips.
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
Significance: minor
|
Significance: minor
|
||||||
Type: add
|
Type: add
|
||||||
Comment: Added partial spotlight floater to shipping smart defaults tour
|
|
||||||
|
|
||||||
|
|
||||||
|
Added partial spotlight floater to shipping smart defaults tour.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
Significance: minor
|
Significance: minor
|
||||||
Type: update
|
Type: update
|
||||||
|
|
||||||
Remove legacy image sizes
|
Remove legacy image sizes
|
||||||
|
|
Loading…
Reference in New Issue