From 31ebe58dde74856413c3bd255cd3d2cefb82926c Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Tue, 21 Sep 2021 13:52:06 -0700 Subject: [PATCH] Try using ref instead of head_ref in checkout action to maybe fix fork linter failures. --- web/.github/workflows/linter.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/.github/workflows/linter.yml b/web/.github/workflows/linter.yml index 82a695165..53c25c018 100644 --- a/web/.github/workflows/linter.yml +++ b/web/.github/workflows/linter.yml @@ -12,7 +12,7 @@ jobs: - name: Checkout uses: actions/checkout@v2 with: - ref: ${{ github.head_ref }} + ref: ${{ github.ref }} fetch-depth: 0 - name: Prettier