Skip to content

Update metamodel to be ready for using PMCD returned by mappinganalysis to build minimal graph for query #7680

Update metamodel to be ready for using PMCD returned by mappinganalysis to build minimal graph for query

Update metamodel to be ready for using PMCD returned by mappinganalysis to build minimal graph for query #7680

Workflow file for this run

name: Check Changeset
# NOTE: changeset validation only makes sense in PR pipeline
on:
pull_request:
branches:
- '**'
# Cancel running jobs from previous pipelines of the same workflow on PR to save resource when commits are pushed quickly
concurrency:
group: ci-pr-${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
check-changeset:
name: Validate Changesets
# When cherry-picking changes in recovery releases, since the changesets should already been consumed
# as part of the release, we will skip this checks.
# See https://github.com/finos/legend-studio/blob/master/docs/workflow/release-process.md#recovery-releases
if: "github.event.pull_request.base.ref != 'master' || !startsWith(github.event.pull_request.title, 'Cherry-picking changes in version ')"
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4.1.7
with:
fetch-depth: 0 # needed to validate changeset
- name: Get Yarn cache directory path
id: yarn-cache-dir-path
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT
- name: Setup Yarn cache
uses: actions/cache@v4.0.2
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: ${{ runner.os }}-yarn-
- name: Setup Node
uses: actions/setup-node@v4.0.4
with:
node-version: 21
- name: Install dependencies
run: yarn
- name: Validate changesets
run: yarn check:changeset