Skip to content

Revert the ansible collections path to ansible/collections so we don'… #3

Revert the ansible collections path to ansible/collections so we don'…

Revert the ansible collections path to ansible/collections so we don'… #3

Workflow file for this run

---

Check failure on line 1 in .github/workflows/lint.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/lint.yml

Invalid workflow file

You have an error in your yaml syntax
name: Lint
on: # yamllint disable-line rule:truthy
workflow_call:
permissions:
contents: read
packages: read
# To report GitHub Actions status checks
statuses: write
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
permissions:
contents: read
packages: read
# To report GitHub Actions status checks
statuses: write
steps:
- uses: actions/checkout@v4
with:
# super-linter needs the full git history to get the
# list of files that changed across commits
fetch-depth: 0
submodules: true
- name: Run ansible-lint
uses: ansible/[email protected]
env:
ANSIBLE_COLLECTIONS_PATH: ".ansible/collections"
- name: Load super-linter configuration
# Use grep inverse matching to exclude eventual comments in the .env file
# because the GitHub Actions command to set environment variables doesn't
# support comments.
# yamllint disable-line rule:line-length
# Ref: https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#setting-an-environment-variable
run: grep -v '^#' super-linter.env >> "$GITHUB_ENV"
if: always()
- name: Run super-linter
uses: super-linter/[email protected]
if: always()
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}