Comments (11)
I ran into the same issue as robbell. Using semver and repo tags would be very appreciated!
from ansible-lint-action.
I've tried various iterations of the below, but all result in the same error
##[warning]Unexpected input(s) 'targets', valid inputs are ['entryPoint', 'args']
:- name: ansible-lint uses: ansible/[email protected] with: targets: "*.yml" # or "create-aks.yaml"This appears to be the correct way to reference individual files according to documentation, but I've had a look at several other repos on GitHub who make use of
targets
and their builds all appear to fail with the same error.I have had luck using the following:
- name: ansible-lint uses: ansible/[email protected] env: ACTION_PLAYBOOK_NAME: create-aks.yaml
Sucker
from ansible-lint-action.
That's an old tag. It'll work if you use master
or specify some commit from master.
from ansible-lint-action.
@webknjaz then a new release should be used right? as the 'info' page recommends not to use master out of the box
from ansible-lint-action.
It's almost a year and this issue still persists. Is this action not being maintained? Can I help?
from ansible-lint-action.
Just got the same thing, very confusing :)
from ansible-lint-action.
@webknjaz then a new release should be used right? as the 'info' page recommends not to use master out of the box
@iranzo, I agree - the documentation states the following which is very confusing, but master
is the only valid branch and there are no valid tags:
N.B. Use ansible/[email protected] or any other valid tag, or branch, or commit SHA instead of v4.1.0 to pin the action to use a specific version.
Referencing a SHA isn't the most user-friendly approach. Can we create a new tag at the current HEAD for master to aid stability and reference that in the documentation?
from ansible-lint-action.
The same issue !
from ansible-lint-action.
No longer valid for version on main branch.
from ansible-lint-action.
@ssbarnea Is this something else? https://github.com/charlesrocket/freebsd-station/runs/5636799474
from ansible-lint-action.
With v6 we removed most options from the action. You will need to use args or better to use linter config file to tune/limit its scope.
The is no support for old versions.
from ansible-lint-action.
Related Issues (20)
- (Ability to) disable verbose output HOT 2
- Couldn't resolve module/action in ansible-lint action HOT 8
- Repository not found: ansible-community/ansible-lint-action HOT 1
- Failed to discover lintable files using git: (Warning and Error) HOT 5
- fatal: detected dubious ownership in repository at '/github/workspace' HOT 10
- Please update the action with ansible-lint 6.9.0 or later HOT 2
- Warning on every run HOT 1
- The action cannot be used as a status check in a branch protection rule HOT 1
- Ansible lint not been able to use community.general.system.timezone HOT 5
- Some ansible lint rule are not checked for the playbook HOT 1
- Update to 6.14.6
- Couldn't resolve module/action error in action but not on system HOT 1
- config ignored ? HOT 2
- Link to github marketplace is broken HOT 2
- `uses: ansible/ansible-lint@v6` yields error "unable to find version `v6`" HOT 1
- Ansible-lint-action is not returning the same result as local ansible-lint HOT 1
- `ansible-lint` outdated HOT 1
- requirements.yml not loaded from given path HOT 3
- ansible-lint fails validating the .github/workflows/ansible-lint.yml HOT 3
- Update to ansible-lint 6.17.2 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-lint-action.