diff --git a/.github/workflows/ansible-lint.yaml b/.github/workflows/ansible-lint.yaml index f38909efa..dae458c46 100644 --- a/.github/workflows/ansible-lint.yaml +++ b/.github/workflows/ansible-lint.yaml @@ -23,12 +23,13 @@ jobs: # workaround for https://github.com/dorny/paths-filter/issues/240 - id: previous-sha - run: 'echo "sha=$(git rev-list -n 1 pull/${{ github.ref_name }}^)" >> $GITHUB_OUTPUT' + run: 'echo "sha=$(git rev-parse HEAD^1)" >> $GITHUB_OUTPUT' - - name: Setup tmate session - uses: mxschmitt/action-tmate@v3 - with: - limit-access-to-actor: true + + # - name: Setup tmate session + # uses: mxschmitt/action-tmate@v3 + # with: + # limit-access-to-actor: true - uses: dorny/paths-filter@v3 id: filter