From a4a04dfe17e1fd1dfdcee5fae9e00fa99abf1a7f Mon Sep 17 00:00:00 2001 From: MaxymVlasov Date: Wed, 17 Nov 2021 22:15:35 +0200 Subject: [PATCH] Fix master merge to working branch on pre-commit autofixes Details: https://github.com/actions/checkout/issues/27#issuecomment-889317591 --- .github/workflows/pre-commit.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pre-commit.yaml b/.github/workflows/pre-commit.yaml index 9672e077f..07241d1a0 100644 --- a/.github/workflows/pre-commit.yaml +++ b/.github/workflows/pre-commit.yaml @@ -25,6 +25,7 @@ jobs: - uses: actions/checkout@v2 with: fetch-depth: 0 + ref: ${{ github.event.pull_request.head.sha }} - uses: actions/setup-python@v2 with: