Skip to content

Scheduling infrastructure for absolutely everyone.

Update GH workflows

zomars8d96b79a5b55
diff --git a/.github/workflows/e2e-embed.yml b/.github/workflows/e2e-embed.yml
index be8e96b5be7..3a3a8f77759 100644
--- a/.github/workflows/e2e-embed.yml
+++ b/.github/workflows/e2e-embed.yml
@@ -5,10 +5,8 @@ on:
- main
# Embed e2e - tests verify booking flow which is applicable to non-embed case also. So, don't ignore apps/web changes.
paths:
- - 'apps/web/**'
- - '!apps/web/public/**'
- - 'packages/embeds/**'
- - '!**.md'
+ - /apps/web/**
+ - /packages/embeds/**
jobs:
e2e-embed:
timeout-minutes: 20
diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml
index 82af45b1403..601d1e49335 100644
--- a/.github/workflows/e2e.yml
+++ b/.github/workflows/e2e.yml
@@ -4,8 +4,8 @@ on:
branches:
- main
paths:
- - '!apps/web/public/static/locales/**'
- - '!**.md'
+ - /apps/web/**
+ - /packages/**
jobs:
e2e:
timeout-minutes: 20
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 7c5fac4165a..c4368e667a8 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -4,7 +4,8 @@ on:
branches:
- main
paths:
- - '!**.md'
+ - '**.tsx?'
+ - '**.jsx?'
jobs:
lint:
strategy:
diff --git a/.github/workflows/required-checks.yml b/.github/workflows/required-checks.yml
index ff5665f4f18..ff8dc301b8c 100644
--- a/.github/workflows/required-checks.yml
+++ b/.github/workflows/required-checks.yml
@@ -1,11 +1,8 @@
----
name: "Meta Workflow: Require Conditional Status Checks"
-
on:
pull_request:
branches:
- main
-
jobs:
required-checks:
strategy:
@@ -13,22 +10,31 @@ jobs:
node: ["16.x"]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
- timeout-minutes: 15
steps:
- name: Ensure All Conditional Checks Have Passed
uses: blend/[email protected]
with:
+ timeout: 15m
+ github-token: ${{ github.token }}
interval: 20s
+ # Question marks aren't working
+ # @see https://github.com/blend/require-conditional-status-checks/pull/11
checks-yaml: |
- job: lint
paths:
- - '!**.md'
+ - /**/*.jsx
+ - /**/*.js
+ - /**/*.tsx
+ - /**/*.ts
- job: check-types
paths:
- - '**.tsx?'
+ - /**/*.tsx
+ - /**/*.ts
- job: e2e
paths:
- - '!**.md'
+ - /apps/web/**
+ - /packages/**
- job: e2e-embed
paths:
- - '!**.md'
+ - /apps/web/**
+ - /packages/embeds/**