cal.pub0.org/.github/workflows/required-checks.yml

39 lines
912 B
YAML
Raw Normal View History

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
2022-07-05 01:22:21 +00:00
checks-yaml:
2022-07-04 20:28:34 +00:00
- job: lint
2022-07-05 00:48:08 +00:00
paths:
2022-07-05 01:22:21 +00:00
- "!**.md"
2022-07-04 23:36:38 +00:00
- job: check-types
2022-07-04 20:28:34 +00:00
paths:
2022-07-05 01:22:21 +00:00
- "**.tsx?"
2022-07-04 21:31:28 +00:00
- job: e2e
paths:
2022-07-05 01:22:21 +00:00
# - "!apps/web/public/static/locales/**"
- "!**.md"
2022-07-04 21:31:28 +00:00
- job: e2e-embed
2022-07-04 20:28:34 +00:00
paths:
2022-07-05 01:22:21 +00:00
# - "apps/web/**"
# - "!apps/web/public/**"
# - "packages/embeds/**"
- "!**.md"