You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.
The doc misses an example with multiple playbook linting;
Right now I've tried:
name: CI # feel free to pick your own nameon: pull_requestjobs:
build:
runs-on: ubuntu-lateststeps:
# Important: This sets up your GITHUB_WORKSPACE environment variable
- uses: actions/checkout@v2
- name: Install dependenciesrun: ansible-galaxy install -r roles/requirements.yml --force
- name: Lint Ansible Playbook# replace "master" with any valid refuses: ansible/ansible-lint-action@masterwith:
# [required]# Paths to ansible files (i.e., playbooks, tasks, handlers etc..)# or valid Ansible directories according to the Ansible role# directory structure.targets:
- "playbook-example.yml"
- "playbook-provisionning.yml"
But Github says that
### ERRORED 13:29:06Z
- Your workflow file was invalid: The pipeline is not valid. .github/workflows/ci.yml (Line: 26, Col: 11): A sequence was not expected
The text was updated successfully, but these errors were encountered:
### ERRORED 13:29:06Z
- Your workflow file was invalid: The pipeline is not valid. .github/workflows/ci.yml (Line: 26, Col: 11): A sequence was not expected
Yea... So GitHub uses environment variables to bypass inputs (the thing that you declare under with) using env vars which only support string values. The action will get INPUT_TARGETS internally with a string. So that's why GH prevents you from doing that.
Hello,
The doc misses an example with multiple playbook linting;
Right now I've tried:
But Github says that
The text was updated successfully, but these errors were encountered: