Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ runs:
shell: bash
env:
GH_ACTION_REF_INPUT: ${{ inputs.gh_action_ref }}
GITHUB_ACTION_REF: ${{ github.action_ref }}
GITHUB_ACTION_REF_DISAMBIGUATED: ${{ github.action_ref }}
run: |
action_ref="${GH_ACTION_REF_INPUT:-${GITHUB_ACTION_REF:-main}}"
action_ref="${GH_ACTION_REF_INPUT:-${GITHUB_ACTION_REF_DISAMBIGUATED:-main}}"
if [[ ${GH_ACTION_REF_INPUT} ]]; then
echo "::warning::Using input 'gh_action_ref': Loading ansible-lint version ${action_ref}. This input should only be used in composite actions where built-in 'GH_ACTION_REF' is set to the parent action version. If possible, use the 'uses: ansible-lint@<version>' syntax instead."
else
Expand Down
Loading