Skip to content

Prevent fatal on integration page of ET when ECP without ETP #399

Prevent fatal on integration page of ET when ECP without ETP

Prevent fatal on integration page of ET when ECP without ETP #399

Workflow file for this run

name: Check changelog
on:
pull_request:
branches:
- master
- 'release/**'
paths-ignore:
- '.github/**'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
check-changelog:
name: Check changelog
runs-on: ubuntu-latest
steps:
# clone the repository
- uses: actions/checkout@v4
with:
fetch-depth: 1000
submodules: recursive
# enable dependencies caching
- name: Add composer to cache
uses: actions/cache@v4
with:
path: ~/.cache/composer/
key: ${{ runner.os }}-composer-${{ hashFiles('composer.lock') }}
# setup PHP
- name: Configure PHP environment
uses: shivammathur/setup-php@v2
with:
php-version: 7.4
tools: composer
coverage: none
# Install composer packages.
- run: composer self-update && composer install --no-progress --ignore-platform-reqs
# Fetch the target branch before running the check.
- name: Fetch the target origin branch
run: git fetch origin $GITHUB_BASE_REF
# Check if any changelog file is added when comparing the current branch vs the target branch.
- name: Check changelog
run: bash bin/check-changelog.sh origin/$GITHUB_BASE_REF HEAD