GithubHelp home page GithubHelp logo

action-ansiblelint's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

This repository currently has no open or pending branches.

Detected dependencies

github-actions
.github/workflows/depup.yml
  • actions/checkout v4
  • haya14busa/action-depup v1
  • peter-evans/create-pull-request v6
.github/workflows/release.yml
  • actions/checkout v4
  • haya14busa/action-bumpr v1
  • haya14busa/action-update-semver v1
  • haya14busa/action-cond v1
  • actions/checkout v4
  • haya14busa/action-bumpr v1
.github/workflows/reviewdog.yml
  • actions/checkout v4
  • actions/setup-python v5

  • Check this box to trigger a request for Renovate to run again on this repository

workdir parameter not working ?

on current master version

I'm attempting to trigger ansible-lint for a project subfolder. But that seems to not change ansible-lint CWD.

I noticed script.sh does:

cd "${GITHUB_WORKSPACE}/${INPUT_WORKING_DIRECTORY}" || exit

defined in action.yml as:

INPUT_WORKING_DIRECTORY: ${{ inputs.working_directory }}

instead of the defined input workdir (at line 30)

Fix should be as simple as changing ${{ inputs.working_directory }} into ${{ inputs.workdir }} at line 59 of action.yml

action-ansiblelint/v1.2/script.sh: line 19: ansible-lint: command not found

There seems to be an issue with the current version of this action:

Run reviewdog/[email protected]
  with:
    filter_mode: file
    github_token: ***
    level: error
    reporter: github-pr-check
    fail_on_error: false
    workdir: .
    ansiblelint_version: 4.3.7
๐Ÿถ Installing reviewdog ... https://github.com/reviewdog/reviewdog
  reviewdog/reviewdog info checking GitHub for tag 'v0.11.0'
  reviewdog/reviewdog info found version: 0.11.0 for v0.11.0/Linux/x86_64
  reviewdog/reviewdog info installed /tmp/tmp.PfPDxpOar4/reviewdog
 Installing ansible-lint ... https://github.com/ansible/ansible-lint
  Collecting ansible-lint==4.3.7
    Downloading https://files.pythonhosted.org/packages/fb/da/16514c866c4215569399386dae5b8a3ccd531808823c1b0c21fd58bdd982/ansible_lint-4.3.7-py2.py3-none-any.whl (79kB)
  Collecting rich (from ansible-lint==4.3.7)
    Downloading https://files.pythonhosted.org/packages/e5/30/4361eeb72b551262ee5ef415ea61b9e5ad2c6028649c63321d23f02c69fb/rich-9.7.0-py3-none-any.whl (185kB)
  Collecting ansible>=2.8 (from ansible-lint==4.3.7)
    Downloading https://files.pythonhosted.org/packages/9e/aa/59e93180a54701c8e0c803729d860a8010b6a07cede54c63e47fa6681cb0/ansible-2.10.5.tar.gz (29.1MB)
      Complete output from command python setup.py egg_info:
      Traceback (most recent call last):
        File "<string>", line 1, in <module>
      ModuleNotFoundError: No module named 'setuptools'
      
      ----------------------------------------
  Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-jnnxhj2q/ansible/
 Running ansible-lint with reviewdog ๐Ÿถ ...
  /home/runner/work/_actions/reviewdog/action-ansiblelint/v1.2/script.sh: line 19: ansible-lint: command not found

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.