Scheduling infrastructure for absolutely everyone.
Squashed commit of the following:
zomars7cd0d5c3c324
diff --git a/.github/workflows/nextjs-bundle-analysis.yml b/.github/workflows/nextjs-bundle-analysis.ymlindex 0543cb4aeb5..e5586be406b 100644--- a/.github/workflows/nextjs-bundle-analysis.yml+++ b/.github/workflows/nextjs-bundle-analysis.yml@@ -9,10 +9,12 @@ on:jobs:build:name: Production build+ if: ${{ github.event_name == 'push' }}uses: ./.github/workflows/production-build.ymlsecrets: inheritanalyze:needs: build+ if: always()runs-on: ubuntu-lateststeps:- uses: actions/checkout@v3diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.ymlindex e1a7226ca86..42da1354ea0 100644--- a/.github/workflows/pr.yml+++ b/.github/workflows/pr.yml@@ -85,3 +85,12 @@ jobs:needs: builduses: ./.github/workflows/nextjs-bundle-analysis.ymlsecrets: 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') }}+ run: exit 1