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:
jonathansadowski 2022-07-12 16:07:12 -05:00 committed by GitHub
parent 38296db283
commit 9c242bcc4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 18 additions and 8 deletions

View File

@ -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

View File

@ -1 +1,3 @@
Significance: patch Significance: patch
Type: dev
Comment: A changelog file is not required for this change.

View File

@ -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.

View File

@ -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.