Skip to content

Commit

Permalink
finalize
Browse files Browse the repository at this point in the history
  • Loading branch information
Bilhan Karaoeren authored and bkaraoren committed Jun 9, 2024
1 parent 217bdae commit 7a77a36
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ runs:
- name: Generate .git/ansible-lint-requirements.txt
shell: bash
env:
GH_ACTION_REF: main
#GH_ACTION_REF: ${{ github.action_ref || 'main' }}
GH_ACTION_REF: ${{ github.action_ref || 'main' }}
working-directory: ${{ steps.inputs.outputs.working_directory }}
run: |
wget --output-document=${{ steps.inputs.outputs.working_directory }}/.git/ansible-lint-requirements.txt https://github.com/ansible/ansible-lint/$GH_ACTION_REF/.config/requirements-lock.txt
Expand All @@ -56,8 +55,7 @@ runs:
- name: Install ansible-lint
shell: bash
env:
GH_ACTION_REF: main
#GH_ACTION_REF: ${{ github.action_ref || 'main' }}
GH_ACTION_REF: ${{ github.action_ref || 'main' }}
# We need to set the version manually because $GITHUB_ACTION_PATH is not
# a git clone and setuptools-scm would not be able to determine the version.
# git+https://github.com/ansible/ansible-lint@${{ github.action_ref || 'main' }}
Expand Down

0 comments on commit 7a77a36

Please sign in to comment.