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

37 lines
1.0 KiB
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:59:38 +00:00
pull_request:
2022-07-05 01:44:23 +00:00
branches:
- main
2022-07-04 20:28:34 +00:00
jobs:
2022-07-04 23:36:38 +00:00
required-checks:
2022-07-12 00:24:08 +00:00
runs-on: ubuntu-latest
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:
2022-07-06 15:28:09 +00:00
timeout: 15m
github-token: ${{ github.token }}
2022-07-04 20:28:34 +00:00
interval: 20s
2022-07-06 15:28:09 +00:00
# Question marks aren't working
# @see https://github.com/blend/require-conditional-status-checks/pull/11
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-06 15:28:09 +00:00
- /**/*.jsx
- /**/*.js
- /**/*.tsx
- /**/*.ts
2022-07-04 23:36:38 +00:00
- job: check-types
2022-07-04 20:28:34 +00:00
paths:
2022-07-06 15:28:09 +00:00
- /**/*.tsx
- /**/*.ts
2022-07-04 21:31:28 +00:00
- job: e2e
paths:
2022-07-06 15:28:09 +00:00
- /apps/web/**
- /packages/**
2022-07-04 21:31:28 +00:00
- job: e2e-embed
2022-07-04 20:28:34 +00:00
paths:
2022-07-06 15:28:09 +00:00
- /apps/web/**
- /packages/embeds/**