From b5076cc7b246247562408f00d85521b3460f1481 Mon Sep 17 00:00:00 2001 From: AnsibleGuy Date: Sat, 5 Aug 2023 20:01:43 +0200 Subject: [PATCH] updated checkout-task in github-workflow --- .github/workflows/autolint.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/autolint.yml b/.github/workflows/autolint.yml index 3274d10..230771a 100644 --- a/.github/workflows/autolint.yml +++ b/.github/workflows/autolint.yml @@ -18,10 +18,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 - - - name: Switch to Current Branch - run: git checkout ${{ env.BRANCH }} - shell: bash + with: + ref: ${{ github.ref }} - name: Install python uses: actions/setup-python@v4