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

35 lines
770 B
YAML
Raw Normal View History

2022-07-04 20:28:34 +00:00
---
name: "Meta Workflow: Require Conditional Status Checks"
on:
2022-07-05 01:44:23 +00:00
pull_request_target:
branches:
- main
2022-07-04 20:28:34 +00:00
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 }}
2022-07-05 01:48:15 +00:00
timeout-minutes: 15
2022-07-04 20:28:34 +00:00
steps:
- name: Ensure All Conditional Checks Have Passed
uses: blend/require-conditional-status-checks@2022.02.04
with:
interval: 20s
2022-07-05 01:29:07 +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:29:07 +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:29:07 +00:00
- '**.tsx?'
2022-07-04 21:31:28 +00:00
- job: e2e
paths:
2022-07-05 01:29:07 +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 01:29:07 +00:00
- '!**.md'