Skip to content

fup to : #3928 the current ansible-lint github workflow is using the latest checkout from main, indifferent of the version specified #3932

@zerwes

Description

@zerwes
Summary

see #3928 (comment)

even if I specify a tag/version in my github action, the ansible-lint workflow will run against main

Issue Type
  • Bug Report
OS / ENVIRONMENT

github workflow

STEPS TO REPRODUCE

ansible-lint workflow:

uses: ansible/[email protected]

will run against main

Run ansible/[email protected]
  with:
    setup_python: true
Run wget --output-document=.git/ansible-lint-requirements.txt https://raw.githubusercontent.com/ansible/ansible-lint/main/.config/requirements-lock.txt
...
Building wheels for collected packages: ansible-lint
175
  Building wheel for ansible-lint (pyproject.toml): started
176
  Building wheel for ansible-lint (pyproject.toml): finished with status 'done'
177
  Created wheel for ansible-lint: filename=ansible_lint-6.22.2.dev8-py3-none-any.whl size=297703 
...
ansible-lint 6.22.2.dev8 using ansible-core:2.16.0 ansible-compat:4.1.10 ruamel-yaml:0.18.5 ruamel-yaml-clib:0.2.8
You are using a pre-release version of ansible-lint.
Run ansible-lint
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions