Skip to content

[studio] Setup layout for home screen and about screen #780 #487

[studio] Setup layout for home screen and about screen #780

[studio] Setup layout for home screen and about screen #780 #487

Workflow file for this run

name: pr_title
on:
pull_request:
branches: ["main"]
types:
- edited
- opened
- reopened
- synchronize
jobs:
title_check:
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v6
with:
script: |
const regex = RegExp("^\\[(benchmarks|ci|collections|db|docs|graph|query|server|storage|studio|tests)\\] .+ #[\\d]+$")
const title = context.payload.pull_request.title
if (!regex.test(title)) {
core.setFailed(`PR title "${title}" failed to pass regex - ${regex}. Correct example: [ci] description #1`);
}