Skip to content

[6290] Move diagram layout configurations from frontend to backend #19110

[6290] Move diagram layout configurations from frontend to backend

[6290] Move diagram layout configurations from frontend to backend #19110

Workflow file for this run

name: Pull Request Checks
on:
pull_request:
paths-ignore:
- "CHANGELOG.adoc"
- "README.adoc"
- "doc/**"
types:
[
opened,
synchronize,
reopened,
labeled,
unlabeled,
milestoned,
demilestoned,
]
jobs:
build:
name: Metadata Review
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node SDK
uses: actions/setup-node@v4
with:
node-version: 22.16
registry-url: https://npm.pkg.github.com/
- name: Check that the CHANGELOG has been updated
env:
GITHUB_EVENT: ${{ toJSON(github.event) }}
run: node scripts/check-changelog.js
- name: Check that the copyright of the modified files has been updated
env:
GITHUB_EVENT: ${{ toJSON(github.event) }}
run: node scripts/check-copyright.js
- name: Check that the labels of the pull request are ok
env:
GITHUB_EVENT: ${{ toJSON(github.event) }}
run: node scripts/check-labels.js
- name: Check that the milestone of the pull request is ok
env:
GITHUB_EVENT: ${{ toJSON(github.event) }}
run: node scripts/check-milestone.js
- name: Retrieve PR metadata
uses: octokit/graphql-action@abaeca7ba4f0325d63b8de7ef943c2418d161b93
id: pr-metadata
with:
query: |
query getPullRequestMetadata($owner: String!, $repository: String!, $prNumber: Int!) {
repository(owner: $owner, name: $repository) {
pullRequest(number: $prNumber) {
title
milestone {
title
}
projectsV2(first: 5) {
nodes {
title
}
}
closingIssuesReferences(first: 10) {
nodes {
title
number
labels(first: 10) {
nodes {
name
}
}
milestone {
title
}
projectsV2(first: 5) {
nodes {
title
}
}
}
}
}
}
}
variables: |
owner: ${{ github.event.repository.owner.login }}
repository: ${{ github.event.repository.name }}
prNumber: ${{ github.event.pull_request.number }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Check additional metadata of the pull request
env:
PAYLOAD: ${{ steps.pr-metadata.outputs.data }}
run: node scripts/check-pr.js
- name: Check that the TypeScript files do not have an issue
env:
GITHUB_EVENT: ${{ toJSON(github.event) }}
run: node scripts/check-ts.js
- name: Check that the frontend dependencies are ok
env:
GITHUB_EVENT: ${{ toJSON(github.event) }}
run: node scripts/check-frontend-dependencies.js
- name: Check that the frontend extension points are ok
env:
GITHUB_EVENT: ${{ toJSON(github.event) }}
run: node scripts/check-extension-points.js