From 3472dee060c6658227931b9bbb9138555e8b2f1f Mon Sep 17 00:00:00 2001 From: AnsibleGuy Date: Sat, 5 Aug 2023 20:03:31 +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 20fddea..8ea8504 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