* Create env file workflow * Add env-cache * Fix env setter * Fix * Another fix * Fix * Fix * Fixes * FFS * Fix * Fix * Fix * Fix * Fix * Cache fixes * Fixes * Adds skipping steps * db-cache fixes * Test * Cache fixes * e2e * Possible caching conflicts * Running out of ideas * Caching is hard * One more time * cache-build not skipping * Fingers crossed * a * Test * Pls * Please * LFG * Build fix * fix * Whitespace!! * Zomars/cal 884 paid events not sending the link (#7318) * WIP * Sends correct emails for paid bookings * Update PaymentService.ts * Update webhook.ts * Update webhook.ts * Update settings back button redirect link (#7403) * fix(schedule): close on click #7143 * fix(EventSetupTab): validLocations length will always match validLocations length #7138 * fix(SettingsLayout): go back to right route #7379 * feat: get country code from ip geolocation (#6880) * feat: get coutnry code from ip geolocation Signed-off-by: Udit Takkar <[email protected]> * fix: create new api route for fetching code Signed-off-by: Udit Takkar <[email protected]> * chore: replace city with country Signed-off-by: Udit Takkar <[email protected]> * refactor: create hook for country Signed-off-by: Udit Takkar <[email protected]> --------- Signed-off-by: Udit Takkar <[email protected]> * Team Workflows (#7038) Co-authored-by: Hariom Balhara <[email protected]> Co-authored-by: CarinaWolli <[email protected]> Co-authored-by: zomars <[email protected]> Co-authored-by: Peer Richelsen <[email protected]> * Add destination calendar name to DestinationCalendarSelector (#6701) * Add destination calendar name * Type fix * Search through calendars only for destination calendar credential * Refactor get connected calendars * Clean up --------- Co-authored-by: zomars <[email protected]> * Update viewer.tsx (#7428) * Fix - add team members to emails (#7207) * On booking add team members & translation * Add team members to round robin create * Only update calendars on reschedule if there is a calendar reference * Send email on reschedules * Send team email on cancelled event * Add team members to calendar event description * Clean up * Convert other emails to organizer & teams * Type check fixes * More type fixes * Change organizer scheduled input to an object * early return updateCalendarEvent * Introduce team member type * Fix type errors * Put team members before attendees * Remove lodash cloneDeep * Update packages/core/EventManager.ts Co-authored-by: Omar López <[email protected]> * Remove booking select object * Revert "Remove booking select object" This reverts commit 9f121ff4ebbaec9a0643111f96c5337b930ddd5b. * Refactor email manager (#7270) Co-authored-by: zomars <[email protected]> * Type change * Remove conditional check for updateAllCalendarEvents --------- Co-authored-by: zomars <[email protected]> * Typefix * Updates webhook response * Update pr.yml * Update action.yml * Update action.yml * Update action.yml * Update action.yml * Update action.yml * Is this redundant? * Removed setup * Update action.yml * Update action.yml * Consolitades setup step * Revert "Consolitades setup step" This reverts commit 5e8d1983cc5ac309fa6875a2fee77aa6287b7151. * Fix? * One more time * Revert "One more time" This reverts commit fd8b559a135820567f40dbb47a4b4dfc2ef44755. * Benchmarking buildjet * Update action.yml * Re-introduce setup * Adds embeds to missing pro cache * Lint fixes * Adds prettier ignore * Upgrades to yarn 3 * Updates lockfile * Reverts CI to ubuntu * Testing new yarn install * We cannot use immutable due to our private submodules * Adds CI skip * Fixes * Adds plugin * Forces local embed package * Moves eslint to root * Update yarn.lock * Playwright fixes * Embed test fixes * Splits embed react tests * Splits embed react tests * Removes install step to benchmark * Update playwright.config.ts * One playwright config for all * More test fixes * Update basic.e2e.ts * Added typescript as a global monorepo dev * Update to v18 * Update yarn.lock * Update env-create-file.yml * Update .github/workflows/pr.yml --------- Signed-off-by: Udit Takkar <[email protected]> Co-authored-by: Esaú Morais <[email protected]> Co-authored-by: Udit Takkar <[email protected]> Co-authored-by: Carina Wollendorfer <[email protected]> Co-authored-by: Hariom Balhara <[email protected]> Co-authored-by: CarinaWolli <[email protected]> Co-authored-by: Peer Richelsen <[email protected]> Co-authored-by: Joe Au-Yeung <[email protected]>
108 lines
2.6 KiB
YAML
108 lines
2.6 KiB
YAML
name: PR Update
|
|
|
|
on:
|
|
pull_request_target:
|
|
branches:
|
|
- main
|
|
paths-ignore:
|
|
- "**.md"
|
|
- ".github/CODEOWNERS"
|
|
workflow_dispatch:
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
changes:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
pull-requests: read
|
|
outputs:
|
|
app-store: ${{ steps.filter.outputs.app-store }}
|
|
embed: ${{ steps.filter.outputs.embed }}
|
|
embed-react: ${{ steps.filter.outputs.embed-react }}
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: ./.github/actions/dangerous-git-checkout
|
|
- uses: dorny/paths-filter@v2
|
|
id: filter
|
|
with:
|
|
filters: |
|
|
app-store:
|
|
- 'apps/web/**'
|
|
- 'packages/app-store/**'
|
|
embed:
|
|
- 'apps/web/**'
|
|
- 'packages/embeds/**'
|
|
embed-react:
|
|
- 'apps/web/**'
|
|
- 'packages/embeds/**'
|
|
|
|
env:
|
|
name: Create env file
|
|
uses: ./.github/workflows/env-create-file.yml
|
|
secrets: inherit
|
|
|
|
type-check:
|
|
name: Type check
|
|
uses: ./.github/workflows/check-types.yml
|
|
secrets: inherit
|
|
|
|
test:
|
|
name: Unit tests
|
|
uses: ./.github/workflows/test.yml
|
|
secrets: inherit
|
|
|
|
lint:
|
|
name: Linters
|
|
uses: ./.github/workflows/lint.yml
|
|
secrets: inherit
|
|
|
|
build:
|
|
name: Production build
|
|
needs: env
|
|
uses: ./.github/workflows/production-build.yml
|
|
secrets: inherit
|
|
|
|
e2e:
|
|
name: E2E tests
|
|
needs: [changes, lint, build]
|
|
uses: ./.github/workflows/e2e.yml
|
|
secrets: inherit
|
|
|
|
e2e-app-store:
|
|
name: E2E App Store tests
|
|
if: ${{ needs.changes.outputs.app-store == 'true' }}
|
|
needs: [changes, lint, build]
|
|
uses: ./.github/workflows/e2e-app-store.yml
|
|
secrets: inherit
|
|
|
|
e2e-embed:
|
|
name: E2E embeds tests
|
|
if: ${{ needs.changes.outputs.embed == 'true' }}
|
|
needs: [changes, lint, build]
|
|
uses: ./.github/workflows/e2e-embed.yml
|
|
secrets: inherit
|
|
|
|
e2e-embed-react:
|
|
name: E2E React embeds tests
|
|
if: ${{ needs.changes.outputs.embed-react == 'true' }}
|
|
needs: [changes, lint, build]
|
|
uses: ./.github/workflows/e2e-embed-react.yml
|
|
secrets: inherit
|
|
|
|
analyze:
|
|
needs: build
|
|
uses: ./.github/workflows/nextjs-bundle-analysis.yml
|
|
secrets: inherit
|
|
|
|
required:
|
|
needs: [lint, type-check, test, build, e2e]
|
|
if: always()
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: fail if conditional jobs failed
|
|
if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'skipped') || contains(needs.*.result, 'cancelled')
|
|
run: exit 1
|