From 04369405f38f200fece773ab7f9717fd62145fcf Mon Sep 17 00:00:00 2001 From: zomars Date: Mon, 20 Feb 2023 20:35:39 -0700 Subject: [PATCH] Fixes --- .github/actions/dangerous-git-checkout/action.yml | 2 +- .github/workflows/check-types.yml | 1 + .github/workflows/lint.yml | 1 + .github/workflows/nextjs-bundle-analysis.yml | 1 + .github/workflows/yarn-install.yml | 1 + 5 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/actions/dangerous-git-checkout/action.yml b/.github/actions/dangerous-git-checkout/action.yml index e27e7c976a..5983c7b409 100644 --- a/.github/actions/dangerous-git-checkout/action.yml +++ b/.github/actions/dangerous-git-checkout/action.yml @@ -6,5 +6,5 @@ runs: - name: Checkout repo uses: actions/checkout@v2 with: - ref: ${{ github.event.pull_request.head.sha }} # + ref: ${{ github.event.pull_request.head.sha }} fetch-depth: 2 diff --git a/.github/workflows/check-types.yml b/.github/workflows/check-types.yml index 1415bd308a..e41c0a2807 100644 --- a/.github/workflows/check-types.yml +++ b/.github/workflows/check-types.yml @@ -15,6 +15,7 @@ jobs: check-types: runs-on: ubuntu-latest steps: + - uses: actions/checkout@v2 - uses: ./.github/actions/dangerous-git-checkout - uses: ./.github/actions/yarn-install diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index fb645718e7..477e30a798 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -15,6 +15,7 @@ jobs: runs-on: buildjet-4vcpu-ubuntu-2204 steps: + - uses: actions/checkout@v2 - uses: ./.github/actions/dangerous-git-checkout - uses: ./.github/actions/yarn-install - name: Test Code Linting diff --git a/.github/workflows/nextjs-bundle-analysis.yml b/.github/workflows/nextjs-bundle-analysis.yml index 84f94e328d..ef40997823 100644 --- a/.github/workflows/nextjs-bundle-analysis.yml +++ b/.github/workflows/nextjs-bundle-analysis.yml @@ -58,6 +58,7 @@ jobs: - 5432:5432 runs-on: ubuntu-latest steps: + - uses: actions/checkout@v2 - uses: ./.github/actions/dangerous-git-checkout - uses: ./.github/actions/yarn-install - uses: ./.github/actions/cache-build diff --git a/.github/workflows/yarn-install.yml b/.github/workflows/yarn-install.yml index ee0f71ad5b..70b61eb262 100644 --- a/.github/workflows/yarn-install.yml +++ b/.github/workflows/yarn-install.yml @@ -9,5 +9,6 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 10 steps: + - uses: actions/checkout@v2 - uses: ./.github/actions/dangerous-git-checkout - uses: ./.github/actions/yarn-install