diff --git a/.github/workflows/e2e-embed.yml b/.github/workflows/e2e-embed.yml index be8e96b5be..3a3a8f7775 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 82af45b140..601d1e4933 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 7c5fac4165..c4368e667a 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 ff5665f4f1..ff8dc301b8 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/require-conditional-status-checks@2022.02.04 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/**