From dfd324a079e81de0091bea65d3295ae8e7699e22 Mon Sep 17 00:00:00 2001 From: Toran Bruce Richards Date: Sun, 2 Apr 2023 10:31:06 +0100 Subject: [PATCH] Updates auto format workflow to work with forks. (in the correct branch now) --- .github/workflows/auto_format.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/auto_format.yml b/.github/workflows/auto_format.yml index 66c559e7..8bfff91c 100644 --- a/.github/workflows/auto_format.yml +++ b/.github/workflows/auto_format.yml @@ -6,7 +6,7 @@ jobs: steps: - uses: actions/checkout@v1 with: - ref: ${{ github.head_ref }} + ref: ${{ github.event.pull_request.head.ref }} - name: autopep8 uses: peter-evans/autopep8@v1 with: