Add E2E tests for merchant multi-currency setup #12882
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check changelog | |
on: | |
pull_request: | |
branches: | |
- develop | |
- 'release/**' | |
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@v3 | |
# enable dependencies caching | |
- name: Add composer to cache | |
uses: actions/cache@v3 | |
with: | |
path: ~/.cache/composer/ | |
key: ${{ runner.os }}-composer-${{ hashFiles('composer.lock') }} | |
# setup PHP, but without debug extensions for reasonable performance | |
- name: "Set up PHP" | |
uses: ./.github/actions/setup-php | |
# Install composer packages. | |
- run: composer self-update && composer install --no-progress | |
# 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 |