From 9e1de1a3acb136d837261ad77dea701b75e8993b Mon Sep 17 00:00:00 2001 From: Donny Winston Date: Wed, 17 Jan 2024 13:17:52 -0500 Subject: [PATCH] fix: arg sent to wrong step --- .github/workflows/lint.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index b22f4bab..1bc016af 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -14,11 +14,12 @@ jobs: steps: - uses: actions/checkout@v4 + with: + ref: ${{ github.event.pull_request.head.ref }} - name: Set up Python 3.10 uses: actions/setup-python@v4 with: python-version: '3.10' - ref: ${{ github.event.pull_request.head.sha }} - name: Lint with flake8 and Reformat with black run: | make init-lint-and-black