2022-07-04 20:28:34 +00:00
|
|
|
---
|
|
|
|
name: "Meta Workflow: Require Conditional Status Checks"
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
|
|
|
|
jobs:
|
2022-07-04 23:36:38 +00:00
|
|
|
required-checks:
|
2022-07-04 20:28:34 +00:00
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
node: ["16.x"]
|
|
|
|
os: [ubuntu-latest]
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Ensure All Conditional Checks Have Passed
|
|
|
|
uses: blend/require-conditional-status-checks@2022.02.04
|
|
|
|
with:
|
|
|
|
interval: 20s
|
|
|
|
checks-yaml: |
|
|
|
|
- job: lint
|
2022-07-05 00:48:08 +00:00
|
|
|
paths:
|
|
|
|
- '!**.md'
|
2022-07-04 23:36:38 +00:00
|
|
|
- job: check-types
|
2022-07-04 20:28:34 +00:00
|
|
|
paths:
|
2022-07-05 00:26:27 +00:00
|
|
|
- '**.tsx?'
|
2022-07-04 21:31:28 +00:00
|
|
|
- job: e2e
|
|
|
|
paths:
|
2022-07-05 00:26:27 +00:00
|
|
|
- '!apps/web/public/static/locales/**'
|
2022-07-05 00:30:27 +00:00
|
|
|
- '!**.md'
|
2022-07-04 21:31:28 +00:00
|
|
|
- job: e2e-embed
|
2022-07-04 20:28:34 +00:00
|
|
|
paths:
|
2022-07-05 00:26:27 +00:00
|
|
|
- 'apps/web/**'
|
|
|
|
- '!apps/web/public/**'
|
|
|
|
- 'packages/embeds/**'
|
2022-07-05 00:30:27 +00:00
|
|
|
- '!**.md'
|